-
Bug
-
Resolution: Fixed
-
P3
-
9
-
b159
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8176643 | 10 | Amit Sapre | P3 | Resolved | Fixed | b03 |
All these tests run without failure but do nothing.
In the standard error output of the test you can see:
Error: Could not find or load main class <name of JDP test class>
The problems likely comes from the fact that these tests start a sub process, but don't pass the -classpath option to the subprocess.
The main test class should be modified to fail if the subprocess doesn't start properly, and it should pass the appropriate -classpath option when starting the sub process.
In the standard error output of the test you can see:
Error: Could not find or load main class <name of JDP test class>
The problems likely comes from the fact that these tests start a sub process, but don't pass the -classpath option to the subprocess.
The main test class should be modified to fail if the subprocess doesn't start properly, and it should pass the appropriate -classpath option when starting the sub process.
- backported by
-
JDK-8176643 sun/management/jdp tests are not running properly
-
- Resolved
-
- blocks
-
JDK-8174867 Compile error JdpJmxRemoteDynamicPortTest.java
-
- Closed
-
- duplicates
-
JDK-8173976 Test sun/management/jdp/JdpJmxRemoteDynamicPortTest.java fails compilation
-
- Closed
-
-
JDK-8174867 Compile error JdpJmxRemoteDynamicPortTest.java
-
- Closed
-
- relates to
-
JDK-8174915 Improve error handing for Jdp tests under sun/management/jdp
-
- Resolved
-
-
JDK-8174867 Compile error JdpJmxRemoteDynamicPortTest.java
-
- Closed
-
(1 relates to)