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

Mitigate Java's annotation parser bug where possible #9

Closed
kaqqao opened this issue Dec 2, 2019 · 0 comments
Closed

Mitigate Java's annotation parser bug where possible #9

kaqqao opened this issue Dec 2, 2019 · 0 comments

Comments

@kaqqao
Copy link
Member

kaqqao commented Dec 2, 2019

Java versions before 11 (?) have multiple bugs in the annotation parser (e.g. this one) causing it to lose annotations on nested types.

It is in some cases possible to recover the lost class-level annotations when transforming a type to its canonical form, and GenericTypeReflector#toCanonical should take advantage of these mitigations where applicable.

@kaqqao kaqqao closed this as completed in 00dd861 Dec 2, 2019
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

No branches or pull requests

1 participant