SpongePowered / VanillaGradle

A toolchain for Minecraft: Java Edition that builds a workspace to interact with the game using the official mappings provided to the public by Mojang Studios.
MIT License
89 stars 18 forks source link

RuntimeInvisibleParameterAnnotations failure #19

Closed zml2008 closed 3 years ago

zml2008 commented 3 years ago

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

zml2008 commented 3 years ago

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

zml2008 commented 3 years ago

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