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

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


On Tue, 20 Jan 2026 20:58:46 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

This pull request has now been integrated.

Changeset: fa557ef3
Author:    Chen Liang <liach at openjdk.org>
URL:       https://git.openjdk.org/valhalla/commit/fa557ef342086c240a4a2b5356fcd7b4affbd2bb
Stats:     48 lines in 2 files changed: 37 ins; 0 del; 11 mod

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

Reviewed-by: vromero

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

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


More information about the valhalla-dev mailing list