test/sun/tools/jstat/JStatInterval.java

Print this page
rev 9529 : 8034960: Serviceability tests using @library failing with java.lang.NoClassDefFoundError

*** 26,37 **** * @bug 8035668 * @library /lib/testlibrary * @summary Test checks case when target application finishes execution and jstat didn't complete work. jstat is started with interval = 100 (jstat -compiler 100) and monitored application finishes after 500ms. This shouldn't cause crash or hang in target application or in jstat. ! * @build jdk.testlibrary.ProcessTools jdk.testlibrary.JDKToolLauncher ! * @build JStatInterval * @run main JStatInterval */ import jdk.testlibrary.ProcessTools; import jdk.testlibrary.JDKToolLauncher; --- 26,36 ---- * @bug 8035668 * @library /lib/testlibrary * @summary Test checks case when target application finishes execution and jstat didn't complete work. jstat is started with interval = 100 (jstat -compiler 100) and monitored application finishes after 500ms. This shouldn't cause crash or hang in target application or in jstat. ! * @build jdk.testlibrary.* JStatInterval * @run main JStatInterval */ import jdk.testlibrary.ProcessTools; import jdk.testlibrary.JDKToolLauncher;