On Tue, 20 Jan 2026 20:58:46 GMT, Chen Liang <[email protected]> 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 <[email protected]>
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

Reply via email to