Public bug reported:

One of the unit tests fails:
STARTED    AtomicReference9Test::testCompareAndExchange 'testCompareAndExchange'
junit.framework.AssertionFailedError: expected:<-5> but was:<-4>
        at junit.framework.Assert.fail(Assert.java:57)
        at junit.framework.Assert.failNotEquals(Assert.java:329)
        at junit.framework.Assert.assertEquals(Assert.java:78)
        at junit.framework.Assert.assertEquals(Assert.java:234)
        at junit.framework.Assert.assertEquals(Assert.java:241)
        at junit.framework.TestCase.assertEquals(TestCase.java:384)
        at JSR166TestCase.mustEqual(JSR166TestCase.java:1318)
        at 
AtomicReference9Test.testCompareAndExchange(AtomicReference9Test.java:132)
        at 
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
        at java.base/java.lang.reflect.Method.invoke(Method.java:565)
        at junit.framework.TestCase.runTest(TestCase.java:177)
        at JSR166TestCase.runTest(JSR166TestCase.java:382)
        at junit.framework.TestCase.runBare(TestCase.java:142)
        at JSR166TestCase.runBare(JSR166TestCase.java:373)
        at junit.framework.TestResult$1.protect(TestResult.java:122)
        at junit.framework.TestResult.runProtected(TestResult.java:142)
        at junit.framework.TestResult.run(TestResult.java:125)
        at junit.framework.TestCase.run(TestCase.java:130)
        at junit.framework.TestSuite.runTest(TestSuite.java:241)
        at junit.framework.TestSuite.run(TestSuite.java:236)
        at junit.framework.TestSuite.runTest(TestSuite.java:241)
        at junit.framework.TestSuite.run(TestSuite.java:236)
        at junit.framework.TestSuite.runTest(TestSuite.java:241)
        at junit.framework.TestSuite.run(TestSuite.java:236)

The compare exchange operation returns the expected value, not the
stored value.

** Affects: openjdk-25 (Ubuntu)
     Importance: Undecided
         Status: New

** Summary changed:

- openjdk-25 S390 java/util/concurrent/tck/JSR166TestCase fails
+ openjdk-25 S390 java/util/concurrent/tck/JSR166TestCase fails (questing)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2127750

Title:
  openjdk-25 S390 java/util/concurrent/tck/JSR166TestCase fails
  (questing)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-25/+bug/2127750/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to