[lworld] RFR: 8281463: [lworld] VALUE / PRIMITIVE modifiers should be supported by reflection [v15]

Roger Riggs rriggs at openjdk.org
Tue Sep 6 19:05:44 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.

Roger Riggs has updated the pull request incrementally with one additional commit since the last revision:

  Correct jvms references for identity and value modifiers

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

Changes:
  - all: https://git.openjdk.org/valhalla/pull/698/files
  - new: https://git.openjdk.org/valhalla/pull/698/files/d3c5b54d..9a21fe0a

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=valhalla&pr=698&range=14
 - incr: https://webrevs.openjdk.org/?repo=valhalla&pr=698&range=13-14

  Stats: 4 lines in 1 file changed: 0 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/valhalla/pull/698.diff
  Fetch: git fetch https://git.openjdk.org/valhalla pull/698/head:pull/698

PR: https://git.openjdk.org/valhalla/pull/698



More information about the valhalla-dev mailing list