[Bug 2127750] [NEW] openjdk-25 S390 java/util/concurrent/tck/JSR166TestCase fails (questing)
Vladimir Petko
2127750 at bugs.launchpad.net
Mon Oct 13 03:20:49 UTC 2025
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
Foundations Bugs, which is subscribed to openjdk-25 in Ubuntu.
https://bugs.launchpad.net/bugs/2127750
Title:
openjdk-25 S390 java/util/concurrent/tck/JSR166TestCase fails
(questing)
Status in openjdk-25 package in Ubuntu:
New
Bug description:
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-25/+bug/2127750/+subscriptions
More information about the foundations-bugs
mailing list