< prev index next >

test/gc/startup_warnings/TestG1.java

Print this page

        

*** 24,40 **** /* * @test TestG1 * @key gc * @bug 8006398 * @summary Test that the G1 collector does not print a warning message ! * @library /testlibrary * @modules java.base/jdk.internal.misc * java.management */ ! import jdk.test.lib.OutputAnalyzer; ! import jdk.test.lib.ProcessTools; public class TestG1 { public static void main(String args[]) throws Exception { ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:+UseG1GC", "-version"); --- 24,40 ---- /* * @test TestG1 * @key gc * @bug 8006398 * @summary Test that the G1 collector does not print a warning message ! * @library /test/lib * @modules java.base/jdk.internal.misc * java.management */ ! import jdk.test.lib.process.ProcessTools; ! import jdk.test.lib.process.OutputAnalyzer; public class TestG1 { public static void main(String args[]) throws Exception { ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:+UseG1GC", "-version");
< prev index next >