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

Roger Riggs rriggs at openjdk.org
Wed Aug 3 19:31:45 UTC 2022


On Tue, 2 Aug 2022 20:51:37 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

>> 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:
> 
>   Restore some tests and cleanup

Note: a number of source changes are present to align the source with the main jdk development of AccessFlags to ease future merges.

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

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



More information about the valhalla-dev mailing list