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

RuntimeInvisibleParameterAnnotations failure #19

Closed
zml2008 opened this issue Jan 29, 2021 · 2 comments
Closed

RuntimeInvisibleParameterAnnotations failure #19

zml2008 opened this issue Jan 29, 2021 · 2 comments
Assignees
Labels
type: bug Something isn't working

Comments

@zml2008
Copy link
Member

zml2008 commented Jan 29, 2021

This is a known PG bug, where synthetic method parameters will be included in the RuntimeInvisibleParameterAnnotations and RuntimeVisibleParameterAnnotations attributes. javac does not like this, and fails to compile classes referencing those classes.

This results in compile errors like:
RIPA-caused compile error

@Zidane Zidane added the type: bug Something isn't working label Jan 29, 2021
@zml2008
Copy link
Member Author

zml2008 commented Jan 29, 2021

Partially mitigated in 3ffa420, but the fix makes assumptions about the placement of synthetic method parameters that may not be true.

@zml2008
Copy link
Member Author

zml2008 commented Feb 25, 2021

The fix mentioned above has seemed to work fine so far, closing.

@zml2008 zml2008 closed this as completed Feb 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants