From 6bd110947757f183ed3219a1a6e32c618bb45dee Mon Sep 17 00:00:00 2001 From: Tobias Hartmann Date: Thu, 16 May 2024 15:13:05 +0200 Subject: [PATCH] Fix --- .../valhalla/inlinetypes/TestUnloadedInlineTypeField.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/hotspot/jtreg/compiler/valhalla/inlinetypes/TestUnloadedInlineTypeField.java b/test/hotspot/jtreg/compiler/valhalla/inlinetypes/TestUnloadedInlineTypeField.java index 47e5b79889f..84a433f4655 100644 --- a/test/hotspot/jtreg/compiler/valhalla/inlinetypes/TestUnloadedInlineTypeField.java +++ b/test/hotspot/jtreg/compiler/valhalla/inlinetypes/TestUnloadedInlineTypeField.java @@ -1037,7 +1037,7 @@ public void test26_verifier() { @ImplicitlyConstructible @LooselyConsistentValue static value class MyValue27 { - int foo = rI; + int foo = 42; } static class MyValue27Holder { @@ -1057,7 +1057,7 @@ public static int test27() { @Run(test = "test27") public void test27_verifier() { - Asserts.assertEQ(test27(), rI); + Asserts.assertEQ(test27(), 42); } @ImplicitlyConstructible