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.
- -source 8 is used
-the annotation provided cannot be resolved on the javac's classpath
A testcase is attached.
- relates to
-
JDK-8213335 Don't soley rely on qualified name for annotation type identity in annotation processing
-
- Open
-
-
JDK-8190886 package-info handling in RoundEnvironment.getElementsAnnotatedWith
-
- Resolved
-
-
JDK-8213256 Clarify runtime vs compile time annotations for RoundEnvironment.getElementsAnnotatedWith(Class)
-
- Resolved
-