< prev index next >

test/runtime/logging/MonitorInflationTest.java

Print this page

        

*** 23,41 **** /* * @test * @bug 8133885 * @summary monitorinflation=debug should have logging from each of the statements in the code ! * @library /testlibrary * @modules java.base/jdk.internal.misc * java.management - * @build jdk.test.lib.OutputAnalyzer jdk.test.lib.ProcessTools * @run driver MonitorInflationTest */ ! import jdk.test.lib.OutputAnalyzer; ! import jdk.test.lib.ProcessTools; public class MonitorInflationTest { static void analyzeOutputOn(ProcessBuilder pb) throws Exception { OutputAnalyzer output = new OutputAnalyzer(pb.start()); output.shouldContain("Inflating object"); --- 23,40 ---- /* * @test * @bug 8133885 * @summary monitorinflation=debug should have logging from each of the statements in the code ! * @library /test/lib * @modules java.base/jdk.internal.misc * java.management * @run driver MonitorInflationTest */ ! import jdk.test.lib.process.OutputAnalyzer; ! import jdk.test.lib.process.ProcessTools; public class MonitorInflationTest { static void analyzeOutputOn(ProcessBuilder pb) throws Exception { OutputAnalyzer output = new OutputAnalyzer(pb.start()); output.shouldContain("Inflating object");
< prev index next >