On Wed, 9 Sep 2026 23:51:17 GMT, Serguei Spitsyn <[email protected]> wrote:
> I've not reviewed the test changes yet.
LingeredAppWithValueObject.java introduced in this PR would create a value
object as following:
public static value record Rec(byte recA, byte recB){};
public static value class ValueObj {
public final byte a;
public final Rec rec;
public final Rec nullField;
public ValueObj(byte a, byte recA, byte recB) {
this.a = a;
this.rec = new Rec(recA, recB);
this.nullField = null;
}
}
`inspect` CLHSDB command shows as following when it evaluated, and
ClhsdbInspectWithValueObject.java checks it.
hsdb> inspect 0xc2241038
instance of Value object @ 0x00000000c2241038 (size = 16)
_mark: 73201086130815105
a: 1
rec:
recA: 10
recB: 20
nullField: null
-------------
PR Comment: https://git.openjdk.org/jdk/pull/32310#issuecomment-5611167252