-
Bug
-
Resolution: Cannot Reproduce
-
P3
-
7
-
unknown
-
os_x
Test is failing with current builds of jdk7u-osx forest on Mac OS X. There's no native code
in here. So, maybe the hotspot team could take a look first.
-------------------------------------------------------------------------
java -cp classes javasoft.sqe.tests.api.java.util.concurrent.ExchangerTest
javasoft.sqe.tests.api.junit.AssertionFailedError: should throw InterruptedException
at javasoft.sqe.tests.api.junit.TestCase.fail(TestCase.java:199)
at javasoft.sqe.tests.api.java.util.concurrent.JSR166TestCase.threadFail(JSR166TestCase.java:256)
at javasoft.sqe.tests.api.java.util.concurrent.JSR166TestCase.threadShouldThrow(JSR166TestCase.java:357)
at javasoft.sqe.tests.api.java.util.concurrent.JSR166TestCase$CheckedInterruptedRunnable.run(JSR166TestCase.java:715)
at java.lang.Thread.run(Thread.java:722)
Exception in thread "Thread-7" javasoft.sqe.tests.api.junit.AssertionFailedError: expected same:<3> was not:<2>
at javasoft.sqe.tests.api.junit.TestCase.fail(TestCase.java:199)
at javasoft.sqe.tests.api.junit.TestCase.failNotSame(TestCase.java:430)
at javasoft.sqe.tests.api.junit.TestCase.assertSame(TestCase.java:394)
at javasoft.sqe.tests.api.junit.TestCase.assertSame(TestCase.java:401)
at javasoft.sqe.tests.api.java.util.concurrent.ExchangerTest$9.realRun(ExchangerTest.java:143)
at javasoft.sqe.tests.api.java.util.concurrent.JSR166TestCase$CheckedRunnable.run(JSR166TestCase.java:662)
at java.lang.Thread.run(Thread.java:722)
Exception in thread "Thread-8" javasoft.sqe.tests.api.junit.AssertionFailedError: expected same:<3> was not:<2>
at javasoft.sqe.tests.api.junit.TestCase.fail(TestCase.java:199)
at javasoft.sqe.tests.api.junit.TestCase.failNotSame(TestCase.java:430)
at javasoft.sqe.tests.api.junit.TestCase.assertSame(TestCase.java:394)
at javasoft.sqe.tests.api.junit.TestCase.assertSame(TestCase.java:401)
at javasoft.sqe.tests.api.java.util.concurrent.ExchangerTest$9.realRun(ExchangerTest.java:143)
at javasoft.sqe.tests.api.java.util.concurrent.JSR166TestCase$CheckedRunnable.run(JSR166TestCase.java:662)
at java.lang.Thread.run(Thread.java:722)
javasoft.sqe.tests.api.junit.AssertionFailedError: should throw InterruptedException
at javasoft.sqe.tests.api.junit.TestCase.fail(TestCase.java:199)
at javasoft.sqe.tests.api.java.util.concurrent.JSR166TestCase.threadFail(JSR166TestCase.java:256)
at javasoft.sqe.tests.api.java.util.concurrent.JSR166TestCase.threadShouldThrow(JSR166TestCase.java:357)
at javasoft.sqe.tests.api.java.util.concurrent.JSR166TestCase$CheckedInterruptedRunnable.run(JSR166TestCase.java:715)
at java.lang.Thread.run(Thread.java:722)
java.lang.InterruptedException
at java.util.concurrent.Exchanger.exchange(Exchanger.java:628)
at javasoft.sqe.tests.api.java.util.concurrent.ExchangerTest$10.realRun(ExchangerTest.java:148)
at javasoft.sqe.tests.api.java.util.concurrent.JSR166TestCase$CheckedRunnable.run(JSR166TestCase.java:662)
at java.lang.Thread.run(Thread.java:722)
Exception in thread "Thread-9" java.lang.IllegalArgumentException: Self-causation not permitted
at java.lang.Throwable.initCause(Throwable.java:458)
at javasoft.sqe.tests.api.java.util.concurrent.JSR166TestCase.threadUnexpectedException(JSR166TestCase.java:375)
at javasoft.sqe.tests.api.java.util.concurrent.JSR166TestCase$CheckedRunnable.run(JSR166TestCase.java:664)
at java.lang.Thread.run(Thread.java:722)
testExchange: Passed. OKAY
testTimedExchange: Passed. OKAY
testExchange_InterruptedException: Passed. OKAY
testTimedExchange_InterruptedException: Passed. OKAY
testExchange_TimeoutException: Passed. OKAY
javasoft.sqe.tests.api.junit.AssertionFailedError: expected same:<3> was not:<2>
at javasoft.sqe.tests.api.junit.TestCase.fail(TestCase.java:199)
at javasoft.sqe.tests.api.junit.TestCase.failNotSame(TestCase.java:430)
at javasoft.sqe.tests.api.junit.TestCase.assertSame(TestCase.java:394)
at javasoft.sqe.tests.api.junit.TestCase.assertSame(TestCase.java:401)
at javasoft.sqe.tests.api.java.util.concurrent.ExchangerTest$9.realRun(ExchangerTest.java:143)
at javasoft.sqe.tests.api.java.util.concurrent.JSR166TestCase$CheckedRunnable.run(JSR166TestCase.java:662)
at java.lang.Thread.run(Thread.java:722)
testReplacementAfterExchange: Failed. Unexpected Throwable: javasoft.sqe.tests.api.junit.AssertionFailedError: expected same:<3> was not:<2>
STATUS:Failed.test cases: 6; passed: 5; failed: 1; first test case failure: testReplacementAfterExchange
in here. So, maybe the hotspot team could take a look first.
-------------------------------------------------------------------------
java -cp classes javasoft.sqe.tests.api.java.util.concurrent.ExchangerTest
javasoft.sqe.tests.api.junit.AssertionFailedError: should throw InterruptedException
at javasoft.sqe.tests.api.junit.TestCase.fail(TestCase.java:199)
at javasoft.sqe.tests.api.java.util.concurrent.JSR166TestCase.threadFail(JSR166TestCase.java:256)
at javasoft.sqe.tests.api.java.util.concurrent.JSR166TestCase.threadShouldThrow(JSR166TestCase.java:357)
at javasoft.sqe.tests.api.java.util.concurrent.JSR166TestCase$CheckedInterruptedRunnable.run(JSR166TestCase.java:715)
at java.lang.Thread.run(Thread.java:722)
Exception in thread "Thread-7" javasoft.sqe.tests.api.junit.AssertionFailedError: expected same:<3> was not:<2>
at javasoft.sqe.tests.api.junit.TestCase.fail(TestCase.java:199)
at javasoft.sqe.tests.api.junit.TestCase.failNotSame(TestCase.java:430)
at javasoft.sqe.tests.api.junit.TestCase.assertSame(TestCase.java:394)
at javasoft.sqe.tests.api.junit.TestCase.assertSame(TestCase.java:401)
at javasoft.sqe.tests.api.java.util.concurrent.ExchangerTest$9.realRun(ExchangerTest.java:143)
at javasoft.sqe.tests.api.java.util.concurrent.JSR166TestCase$CheckedRunnable.run(JSR166TestCase.java:662)
at java.lang.Thread.run(Thread.java:722)
Exception in thread "Thread-8" javasoft.sqe.tests.api.junit.AssertionFailedError: expected same:<3> was not:<2>
at javasoft.sqe.tests.api.junit.TestCase.fail(TestCase.java:199)
at javasoft.sqe.tests.api.junit.TestCase.failNotSame(TestCase.java:430)
at javasoft.sqe.tests.api.junit.TestCase.assertSame(TestCase.java:394)
at javasoft.sqe.tests.api.junit.TestCase.assertSame(TestCase.java:401)
at javasoft.sqe.tests.api.java.util.concurrent.ExchangerTest$9.realRun(ExchangerTest.java:143)
at javasoft.sqe.tests.api.java.util.concurrent.JSR166TestCase$CheckedRunnable.run(JSR166TestCase.java:662)
at java.lang.Thread.run(Thread.java:722)
javasoft.sqe.tests.api.junit.AssertionFailedError: should throw InterruptedException
at javasoft.sqe.tests.api.junit.TestCase.fail(TestCase.java:199)
at javasoft.sqe.tests.api.java.util.concurrent.JSR166TestCase.threadFail(JSR166TestCase.java:256)
at javasoft.sqe.tests.api.java.util.concurrent.JSR166TestCase.threadShouldThrow(JSR166TestCase.java:357)
at javasoft.sqe.tests.api.java.util.concurrent.JSR166TestCase$CheckedInterruptedRunnable.run(JSR166TestCase.java:715)
at java.lang.Thread.run(Thread.java:722)
java.lang.InterruptedException
at java.util.concurrent.Exchanger.exchange(Exchanger.java:628)
at javasoft.sqe.tests.api.java.util.concurrent.ExchangerTest$10.realRun(ExchangerTest.java:148)
at javasoft.sqe.tests.api.java.util.concurrent.JSR166TestCase$CheckedRunnable.run(JSR166TestCase.java:662)
at java.lang.Thread.run(Thread.java:722)
Exception in thread "Thread-9" java.lang.IllegalArgumentException: Self-causation not permitted
at java.lang.Throwable.initCause(Throwable.java:458)
at javasoft.sqe.tests.api.java.util.concurrent.JSR166TestCase.threadUnexpectedException(JSR166TestCase.java:375)
at javasoft.sqe.tests.api.java.util.concurrent.JSR166TestCase$CheckedRunnable.run(JSR166TestCase.java:664)
at java.lang.Thread.run(Thread.java:722)
testExchange: Passed. OKAY
testTimedExchange: Passed. OKAY
testExchange_InterruptedException: Passed. OKAY
testTimedExchange_InterruptedException: Passed. OKAY
testExchange_TimeoutException: Passed. OKAY
javasoft.sqe.tests.api.junit.AssertionFailedError: expected same:<3> was not:<2>
at javasoft.sqe.tests.api.junit.TestCase.fail(TestCase.java:199)
at javasoft.sqe.tests.api.junit.TestCase.failNotSame(TestCase.java:430)
at javasoft.sqe.tests.api.junit.TestCase.assertSame(TestCase.java:394)
at javasoft.sqe.tests.api.junit.TestCase.assertSame(TestCase.java:401)
at javasoft.sqe.tests.api.java.util.concurrent.ExchangerTest$9.realRun(ExchangerTest.java:143)
at javasoft.sqe.tests.api.java.util.concurrent.JSR166TestCase$CheckedRunnable.run(JSR166TestCase.java:662)
at java.lang.Thread.run(Thread.java:722)
testReplacementAfterExchange: Failed. Unexpected Throwable: javasoft.sqe.tests.api.junit.AssertionFailedError: expected same:<3> was not:<2>
STATUS:Failed.test cases: 6; passed: 5; failed: 1; first test case failure: testReplacementAfterExchange