< prev index next >

test/runtime/logging/VtablesTest.java

Print this page

        

*** 23,44 **** /* * @test * @bug 8141564 * @summary vtables=trace should have logging from each of the statements in the code ! * @library /testlibrary * @compile ClassB.java * p1/A.java * p2/B.jcod * p1/C.java * p2/D.java * @modules java.base/jdk.internal.misc * java.management * @run driver VtablesTest */ ! import jdk.test.lib.*; public class VtablesTest { public static void main(String[] args) throws Exception { if (Platform.isDebugBuild()) { ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-Xlog:vtables=trace", "ClassB"); --- 23,46 ---- /* * @test * @bug 8141564 * @summary vtables=trace should have logging from each of the statements in the code ! * @library /test/lib * @compile ClassB.java * p1/A.java * p2/B.jcod * p1/C.java * p2/D.java * @modules java.base/jdk.internal.misc * java.management * @run driver VtablesTest */ ! import jdk.test.lib.Platform; ! import jdk.test.lib.process.ProcessTools; ! import jdk.test.lib.process.OutputAnalyzer; public class VtablesTest { public static void main(String[] args) throws Exception { if (Platform.isDebugBuild()) { ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-Xlog:vtables=trace", "ClassB");
< prev index next >