JDK-8204841 : compiler/stable/TestStableObject.java fails with java.lang.AssertionError: B != A
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 11
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2018-06-12
  • Updated: 2018-06-12
  • Resolved: 2018-06-12
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.
JDK 11
11Resolved
Related Reports
Duplicate :  
Description
This has been observed once on Mac OSX

----------System.out:(32/2144)----------
@Stable:         enabled
compiler.stable.TestStableObject$DefaultValue: PASSED
compiler.stable.TestStableObject$ObjectStable: FAILED
java.lang.AssertionError: B != A
	at compiler.stable.TestStableObject.assertEquals(TestStableObject.java:600)
	at compiler.stable.TestStableObject$ObjectStable.test(TestStableObject.java:123)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at compiler.stable.TestStableObject.run(TestStableObject.java:609)
	at compiler.stable.TestStableObject.main(TestStableObject.java:68)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
	at java.base/java.lang.Thread.run(Thread.java:832)
compiler.stable.TestStableObject$DefaultStaticValue: PASSED
compiler.stable.TestStableObject$StaticObjectStable: PASSED
compiler.stable.TestStableObject$VolatileObjectStable: PASSED
compiler.stable.TestStableObject$ObjectArrayDim1: PASSED
compiler.stable.TestStableObject$ObjectArrayDim2: PASSED
compiler.stable.TestStableObject$ObjectArrayDim3: PASSED
compiler.stable.TestStableObject$ObjectArrayDim4: PASSED
compiler.stable.TestStableObject$ObjectArrayLowerDim0: PASSED
compiler.stable.TestStableObject$ObjectArrayLowerDim1: PASSED
compiler.stable.TestStableObject$ObjectArrayLowerDim2: PASSED
compiler.stable.TestStableObject$NestedStableField: PASSED
compiler.stable.TestStableObject$NestedStableField1: PASSED
compiler.stable.TestStableObject$NestedStableField2: PASSED
compiler.stable.TestStableObject$NestedStableField3: PASSED
----------System.err:(13/764)----------
java.lang.Error: TEST FAILED
	at compiler.stable.TestStableObject.main(TestStableObject.java:91)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
	at java.base/java.lang.Thread.run(Thread.java:832)
Comments
The test was executed with Graal. This is a duplicate of JDK-8204347.
12-06-2018