Loading... (original) (raw)
- Type:
Bug
- Resolution: Fixed
- Priority:
P3
- Fix Version/s: 12
- Affects Version/s: 12
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
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