[lworld] RFR: 8293448: [lworld] ClassAccessFlagsRawTest fail [v2]

Roger Riggs rriggs at openjdk.org
Wed Sep 7 14:45:10 UTC 2022


On Wed, 7 Sep 2022 14:38:14 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

>> Fix test of ClassAccessFlagsRawTest to verify ACC_IDENTITY when it is inserted based on the class file version being read.
>> ACC_IDENTITY is seen for all concrete classes and arrays of same.
>
> Roger Riggs has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Revert changes and run test with Valhalla disabled

Using -XX:-EnableValhalla works for the time being.
The purpose of the test was to validate the new private `Class.getClassAccessFlagsRaw` method.
It might have avoided the issue by not using the SUPER/IDENTITY bit in the test,
especially since that bit is computed in Valhalla and does not match the bits in the class file.

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

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



More information about the valhalla-dev mailing list