Details
-
Bug
-
Resolution: Fixed
-
P4
-
7
-
b117
-
generic
-
generic
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8028876 | port-stage-ppc-aix | Mandy Chung | P4 | Resolved | Fixed | master |
Description
TESTFAIL:java/lang/management/ThreadMXBean/ThreadStateTest.java
I was doing JDK7-B87 baseline testing on my VMware WinXP client
and the following SDK/JDK test failed:
java/lang/management/ThreadMXBean/ThreadStateTest.java
Here is a snippet from the .jtr file:
----------System.out:(6/202)----------
Waiting myThread to go blocked.
myThread is going to block.
Waiting myThread to go waiting.
myThread is going to wait.
Waiting myThread to go timed waiting.
myThread is going to timed wait.
----------System.err:(18/1126)----------
java version "1.7.0-ea"
Java(TM) SE Runtime Environment (build 1.7.0-ea-b87)
Java HotSpot(TM) Server VM (build 18.0-b01, compiled mode)
java.lang.RuntimeException: MyThread expected to be blocked on lock [ThreadStateTest$Lock@c8f6f8] but got null.
at ThreadStateTest.checkLockInfo(ThreadStateTest.java:177)
at ThreadStateTest.main(ThreadStateTest.java:91)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:613)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:717)
JavaTest Message: Test threw exception: java.lang.RuntimeException: MyThread expected to be blocked on lock [ThreadStateTest$Lock@c8f6f8] but got null.
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: MyThread expected to be blocked on lock [ThreadStateTest$Lock@c8f6f8] but got null.
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: MyThread expected to be blocked on lock [ThreadStateTest$Lock@c8f6f8] but got null.
test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: MyThread expected to be blocked on lock [ThreadStateTest$Lock@c8f6f8] but got null.
I was doing JDK7-B87 baseline testing on my VMware WinXP client
and the following SDK/JDK test failed:
java/lang/management/ThreadMXBean/ThreadStateTest.java
Here is a snippet from the .jtr file:
----------System.out:(6/202)----------
Waiting myThread to go blocked.
myThread is going to block.
Waiting myThread to go waiting.
myThread is going to wait.
Waiting myThread to go timed waiting.
myThread is going to timed wait.
----------System.err:(18/1126)----------
java version "1.7.0-ea"
Java(TM) SE Runtime Environment (build 1.7.0-ea-b87)
Java HotSpot(TM) Server VM (build 18.0-b01, compiled mode)
java.lang.RuntimeException: MyThread expected to be blocked on lock [ThreadStateTest$Lock@c8f6f8] but got null.
at ThreadStateTest.checkLockInfo(ThreadStateTest.java:177)
at ThreadStateTest.main(ThreadStateTest.java:91)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:613)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:717)
JavaTest Message: Test threw exception: java.lang.RuntimeException: MyThread expected to be blocked on lock [ThreadStateTest$Lock@c8f6f8] but got null.
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: MyThread expected to be blocked on lock [ThreadStateTest$Lock@c8f6f8] but got null.
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: MyThread expected to be blocked on lock [ThreadStateTest$Lock@c8f6f8] but got null.
test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: MyThread expected to be blocked on lock [ThreadStateTest$Lock@c8f6f8] but got null.
Attachments
Issue Links
- backported by
-
JDK-8028876 ThreadMXBean/ThreadStateTest.java fails intermittently
- Resolved
- relates to
-
JDK-7021010 (thread) TEST_BUG java/lang/Thread/ThreadStateTest.java fails intermittently
- Closed
-
JDK-8028565 Remove java/lang/management/ThreadMXBean/ThreadStateTest.java from ProblemList.txt
- Closed
-
JDK-8022208 Intermittent test failures in java/lang/Thread/ThreadStateTest.java
- Closed