[lworld] RFR: 8326707: [lworld] Remove VALUE modifier from Modifier and AccessFlag

Mandy Chung mchung at openjdk.org
Tue Feb 27 23:01:52 UTC 2024


On Tue, 27 Feb 2024 21:45:27 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

> Remove the VALUE modifier in Modifier.java and AccessFlag.java.
> Update Class.isValue() to be false for primitive, array, and interface classes and otherwise be ~ACC_IDENTITY in the modifiers.

src/java.base/share/classes/java/lang/reflect/Modifier.java line 169:

> 167:      * {@code identity} modifier; {@code false} otherwise.
> 168:      */
> 169:     public static boolean isValue(int mod) {

I think we should remove this as there is no longer such a modifier.

-------------

PR Review Comment: https://git.openjdk.org/valhalla/pull/1024#discussion_r1505116991



More information about the valhalla-dev mailing list