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

Fixing GH-737 : compute class type with generics handle #1781

Merged
merged 1 commit into from Feb 9, 2024

Conversation

laurentschoelens
Copy link
Contributor

Fixes #737
Fixes #209 (to check if it was dependant of #737)

Add generic handle in xjc:javaType
The name tag should be of the form : name="java.util.List&lt;java.lang.String&gt;" for expected List<String>

Need also to provide good adapter that implements the wanted XmlAdapter<String, ExpectedType> where ExpectedType with the example would be List<String> like CommaDelimitedStringAdapter

Copy link
Member

@lukasj lukasj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add notes to the changelog, please? Link both issue being fixed there..

Also update the copyright year to 2024 in all files being modified in this PR.

Thanks!

@laurentschoelens
Copy link
Contributor Author

@lukasj : forced push this PR with wanted changes 😉

@lukasj lukasj merged commit dde82c2 into eclipse-ee4j:master Feb 9, 2024
5 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.

xjc:javaType does not handle generic types Schema-driven XmlAdapter using xjc:javaType
2 participants