[lworld] RFR: 8281463: [lworld] VALUE / PRIMITIVE modifiers should be supported by reflection
Roger Riggs
rriggs at openjdk.java.net
Thu May 26 22:29:50 UTC 2022
Add support to java.lang.reflect.AccessFlag ACC_IDENTITY, ACC_VALUE, and ACC_PRIMITIVE.
Added corresponding flags to j.l.reflect.Modifier so the "source" of the AccessFlag is the Modifer mask.
Remove PERMITS_VALUE; moving the definition used by HotSpot to HotSpot code.
Add comments to java.l.reflect.Modifier suggesting use of AccessFlag instead and limitations.
-------------
Commit messages:
- 8281463: [lworld] VALUE / PRIMITIVE modifiers should be supported by reflection
Changes: https://git.openjdk.java.net/valhalla/pull/698/files
Webrev: https://webrevs.openjdk.java.net/?repo=valhalla&pr=698&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8281463
Stats: 84 lines in 5 files changed: 51 ins; 13 del; 20 mod
Patch: https://git.openjdk.java.net/valhalla/pull/698.diff
Fetch: git fetch https://git.openjdk.java.net/valhalla pull/698/head:pull/698
PR: https://git.openjdk.java.net/valhalla/pull/698
More information about the valhalla-dev
mailing list