8028239: test/sun/jvmstat/monitor/MonitoredVm/MonitorVmStartTerminate.sh with NoClassDefFoundError
Alan Bateman
Alan.Bateman at oracle.com
Tue Nov 12 13:35:04 PST 2013
This test was liberated earlier today via JDK- 6543856 [1].
Unfortunately it is failing again, this time with a NoClassDefFoundError
because it can't locate the JavaProcess class. The issue can be quickly
fixed with the attached patched (to add testlibrary to the classpah).
Alternatively we can exclude this test again, pending a re-visit of this
test and perhaps eliminating the shell script.
-Alan.
diff --git
a/test/sun/jvmstat/monitor/MonitoredVm/MonitorVmStartTerminate.sh
b/test/sun/jvmstat/monitor/MonitoredVm/MonitorVmStartTerminate.sh
--- a/test/sun/jvmstat/monitor/MonitoredVm/MonitorVmStartTerminate.sh
+++ b/test/sun/jvmstat/monitor/MonitoredVm/MonitorVmStartTerminate.sh
@@ -38,6 +38,6 @@
verify_os
JAVA="${TESTJAVA}/bin/java"
-CP=${TESTJAVA}${FS}lib${FS}tools.jar${PS}${TESTCLASSES}
+CP=${TESTJAVA}${FS}lib${FS}tools.jar${PS}${TESTCLASSES}${PS}${TESTCLASSES}${FS}..${FS}..${FS}testlibrary
${JAVA} ${TESTVMOPTS} -classpath ${CP} MonitorVmStartTerminate
[1] http://hg.openjdk.java.net/jdk8/tl/jdk/rev/4cff9f59644f
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20131112/d48786e7/attachment.html
More information about the serviceability-dev
mailing list