JDK-8317143 : [lworld] compiler/valhalla/inlinetypes/TestCallingConventionC1.java fails after merging jdk-22+9
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: repo-valhalla
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2023-09-28
  • Updated: 2023-10-06
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
repo-valhallaUnresolved
Related Reports
Relates :  
Relates :  
Description
After merging jdk-22+9 the follow test failure occurs:

Test Failures (1)
-----------------
Custom Run Test: @Run: test104_verifier - @Test: test104:
compiler.lib.ir_framework.shared.TestRunException: There was an error while invoking @Run method public void compiler.valhalla.inlinetypes.TestCallingConventionC1.test104_verifier(compiler.lib.ir_framework.RunInfo)
	at compiler.lib.ir_framework.test.CustomRunTest.invokeTest(CustomRunTest.java:162)
	at compiler.lib.ir_framework.test.AbstractTest.run(AbstractTest.java:104)
	at compiler.lib.ir_framework.test.CustomRunTest.run(CustomRunTest.java:89)
	at compiler.lib.ir_framework.test.TestVM.runTests(TestVM.java:825)
	at compiler.lib.ir_framework.test.TestVM.start(TestVM.java:250)
	at compiler.lib.ir_framework.test.TestVM.main(TestVM.java:165)
Caused by: java.lang.reflect.InvocationTargetException
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:115)
	at java.base/java.lang.reflect.Method.invoke(Method.java:582)
	at compiler.lib.ir_framework.test.CustomRunTest.invokeTest(CustomRunTest.java:157)
	... 5 more
Caused by: java.lang.NullPointerException: Cannot assign field "x0"
	at compiler.valhalla.inlinetypes.TestCallingConventionC1$Test104Value.<vnew>(TestCallingConventionC1.java:2196)
	at compiler.valhalla.inlinetypes.TestCallingConventionC1.test104(TestCallingConventionC1.java:2192)
	at compiler.valhalla.inlinetypes.TestCallingConventionC1.test104_verifier(TestCallingConventionC1.java:2222)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	... 7 more



	at compiler.lib.ir_framework.test.TestVM.runTests(TestVM.java:860)
	at compiler.lib.ir_framework.test.TestVM.start(TestVM.java:250)
	at compiler.lib.ir_framework.test.TestVM.main(TestVM.java:165)

Comments
compiler/valhalla/inlinetypes/TestC1.java looks like it has the same issue: Test Failures (1) ----------------- Custom Run Test: @Run: test7_verifier - @Test: test7: compiler.lib.ir_framework.shared.TestRunException: There was an error while invoking @Run method public void compiler.valhalla.inlinetypes.TestC1.test7_verifier() at compiler.lib.ir_framework.test.CustomRunTest.invokeTest(CustomRunTest.java:162) at compiler.lib.ir_framework.test.AbstractTest.run(AbstractTest.java:99) at compiler.lib.ir_framework.test.CustomRunTest.run(CustomRunTest.java:89) at compiler.lib.ir_framework.test.TestVM.runTests(TestVM.java:825) at compiler.lib.ir_framework.test.TestVM.start(TestVM.java:250) at compiler.lib.ir_framework.test.TestVM.main(TestVM.java:165) Caused by: java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:115) at java.base/java.lang.reflect.Method.invoke(Method.java:582) at compiler.lib.ir_framework.test.CustomRunTest.invokeTest(CustomRunTest.java:159) ... 5 more Caused by: java.lang.NullPointerException: Cannot assign field "l4" at compiler.valhalla.inlinetypes.TestC1$Big.<vnew>(TestC1.java:204) at compiler.valhalla.inlinetypes.TestC1$TestValue.<vnew>(TestC1.java:239) at compiler.valhalla.inlinetypes.TestC1.test7_verifier(TestC1.java:253) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ... 7 more at compiler.lib.ir_framework.test.TestVM.runTests(TestVM.java:860) at compiler.lib.ir_framework.test.TestVM.start(TestVM.java:250) at compiler.lib.ir_framework.test.TestVM.main(TestVM.java:165)
03-10-2023