mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-24 09:10:08 +00:00
8233888: jdk.vm.ci.hotspot.test.VirtualObjectLayoutTest.testFormat(): Unexpected error verifying
Reviewed-by: kvn, iignatyev
This commit is contained in:
parent
327521aae0
commit
ddc8f8e757
@ -97,9 +97,9 @@ public abstract class VirtualObjectTestBase {
|
||||
JavaValue[] values = getJavaValues(kinds);
|
||||
test(simple, values, kinds, false);
|
||||
|
||||
// Spread a long value across two int fields
|
||||
// Spread a long value across two int fields starting at an aligned field
|
||||
kinds = Arrays.copyOf(fieldKinds, fieldKinds.length - 1);
|
||||
kinds[1] = JavaKind.Long;
|
||||
kinds[fields[0].getOffset() % 8 == 0 ? 0 : 1] = JavaKind.Long;
|
||||
test(simple, getJavaValues(kinds), kinds, false);
|
||||
|
||||
// Produce a long value for the final int field so there is no matching int field for the
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user