eclipse-jdt / eclipse.jdt.core

Eclipse Public License 2.0
164 stars 130 forks source link

Heuristics for unexpected shapes of Runtime(In)VisibleParameterAnnotations #2938

Open stephan-herrmann opened 1 month ago

stephan-herrmann commented 1 month ago

As per https://bugs.openjdk.org/browse/JDK-8334871 javac is fixed not only to accept legal class files generated by ecj, but also to apply several heuristics for interpreting annotation attributes with unexpected number of entries.

We should check, if any of these heuristics are relevant for ecj, too.