Loading... (original) (raw)

The RoundEnvironment.getElementsAnnotatedWith(Class) method may crash if:
- -source 8 is used
-the annotation provided cannot be resolved on the javac's classpath

A testcase is attached.

relates to

Bug - A problem which impairs or prevents the functions of the product. JDK-8213335 Don't soley rely on qualified name for annotation type identity in annotation processing

Bug - A problem which impairs or prevents the functions of the product. JDK-8190886 package-info handling in RoundEnvironment.getElementsAnnotatedWith

Enhancement - null JDK-8213256 Clarify runtime vs compile time annotations for RoundEnvironment.getElementsAnnotatedWith(Class)