Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.2.3 Release #50

Merged
merged 17 commits into from
Sep 24, 2024
Merged

1.2.3 Release #50

merged 17 commits into from
Sep 24, 2024

Conversation

juergen-albert
Copy link
Contributor

No description provided.

fipro78 and others added 17 commits February 13, 2024 17:43
* Fixes #37 - Update Eclipse Parsson Dependency

* Fixes #37 - Update Eclipse Parsson Dependency

* Fixes #37 - Update Eclipse Parsson Dependency

Updated .bndrun files
The whiteboard implementation must create dynamic classes for each extension service to allow multiple instances of the same class to be registered. The existing generics handling was limited, and could not correctly represent unbound type variables, wildcards, nested generics, or reification of variables declared in super types. This commit enhances the generics processing in an attempt to cover all cases. Fixes #39

Signed-off-by: Tim Ward <timothyjward@apache.org>
Fix issues with generics in extension services
I identified a missing test case where a Type Variable changes name in the generics declaration of an intermediate super class, and also where the Type Variable use is nested inside another generic declaration. Once added these tests showed up some further weaknesses which I have attempted to fix by establishing a context mapping of contract interface to implementing type and type to super type. This constrains the search through the type information and ensures that we only match type information that is relevant in the current context.

Signed-off-by: Tim Ward <timothyjward@apache.org>
Signed-off-by: Tim Ward <timothyjward@apache.org>
- removed unused dependency

Thanks for reporting!

Signed-off-by: Mark Hoffmann <m.hoffmann@data-in-motion.biz>
- removed unnused imports
- removed other warnings

Signed-off-by: Mark Hoffmann <m.hoffmann@data-in-motion.biz>
fixes #46

Signed-off-by: Juergen Albert <j.albert@data-in-motion.biz>
whiteboard servlet runtime now forwards all properties
Some generic mappings were creating partially valid signatures which terminated early, losing generics information for additional contracts. These tests and fix ensure that the signature is generated correctly

Signed-off-by: Tim Ward <timothyjward@apache.org>
[generics] Fix broken signatures in proxy classes
Signed-off-by: Juergen Albert <j.albert@data-in-motion.biz>
The latest commit removed some tests which need to be restored. It also made some visitor usage inconsistent, so we now respect the return value of visitTypeParameter everywhere

Signed-off-by: Tim Ward <timothyjward@apache.org>
[generics] Restore deleted tests and improve consistency of access
Signed-off-by: Juergen Albert <j.albert@data-in-motion.biz>
@juergen-albert juergen-albert merged commit 1970cfb into release Sep 24, 2024
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants