-
Type:
Enhancement
-
Resolution: Unresolved
-
Priority:
P4
-
None
-
Affects Version/s: 27
-
Component/s: core-libs
-
None
-
In Review
The modifiers in core reflection and just modeled using the bits of an int. For methods and constructors, there are collisions on the reuse of modifier bits on different kinds of constructs. Printing misleading information is avoid by masking out the modfiers using information from the Modifer class.
While Field and Parameter don't currently have such collisions, they may under Valhalla and adding defensive screenings now would add robustness.
While Field and Parameter don't currently have such collisions, they may under Valhalla and adding defensive screenings now would add robustness.
- relates to
-
JDK-8373093 [lworld] Modifier.toString for Modifier.STRICT
-
- Open
-
-
JDK-6261502 (reflect) Add the functionality to screen out the "inappropriate" modifier bits
-
- Resolved
-
- links to
-
Review(master)
openjdk/jdk/28672