[lworld] RFR: 8375740: [lworld] javap prints "value class" while class flags indicate ACC_IDENTITY [v2]

Chen Liang liach at openjdk.org
Wed Jan 21 00:10:16 UTC 2026


On Wed, 21 Jan 2026 00:02:11 GMT, Chen Liang <liach at openjdk.org> wrote:

>> Seems like an oversight where "value" is added unconditionally. I changed the behavior to add "identity" for preview identity classes, which was never printed before (because identity is not a source modifier)
>> 
>> Testing: langtools/tools/javap + javac
>
> Chen Liang has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Don't emit spurious identity

Thanks for the reviews!

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

PR Comment: https://git.openjdk.org/valhalla/pull/1938#issuecomment-3775521263


More information about the valhalla-dev mailing list