-
Bug
-
Resolution: Fixed
-
P2
-
20
-
b15
-
Verified
As per the spec:
https://download.java.net/java/early_access/jdk20/docs/api/java.base/java/lang/reflect/AccessFlag.html#locations(java.lang.reflect.ClassFileFormatVersion)
"Throws:
NullPointerException - if the parameter is null
Observed that NPE is not thrown when parameter is null.
Attached the snippet to demonstrate this.
https://download.java.net/java/early_access/jdk20/docs/api/java.base/java/lang/reflect/AccessFlag.html#locations(java.lang.reflect.ClassFileFormatVersion)
"Throws:
NullPointerException - if the parameter is null
Observed that NPE is not thrown when parameter is null.
Attached the snippet to demonstrate this.
- is cloned by
-
JDK-8293627 AccessFlag::locations(ClassFileFormatVersion cffv) and locations() results are inconsistent
- Closed
- relates to
-
JDK-8281660 Better modeling of access flags in core reflection
- Closed