< prev index next >
test/gc/arguments/TestSelectDefaultGC.java
Print this page
*** 24,41 ****
/*
* @test TestSelectDefaultGC
* @summary Test selection of GC when no GC option is specified
* @bug 8068582
* @key gc
! * @library /testlibrary
* @requires vm.gc=="null"
* @modules java.base/jdk.internal.misc
* java.management
* @run driver TestSelectDefaultGC
*/
! import jdk.test.lib.*;
import java.util.regex.*;
public class TestSelectDefaultGC {
public static void assertVMOption(OutputAnalyzer output, String option, boolean value) {
output.shouldMatch(" " + option + " .*=.* " + value + " ");
--- 24,44 ----
/*
* @test TestSelectDefaultGC
* @summary Test selection of GC when no GC option is specified
* @bug 8068582
* @key gc
! * @library /test/lib
* @requires vm.gc=="null"
* @modules java.base/jdk.internal.misc
* java.management
* @run driver TestSelectDefaultGC
*/
! import jdk.test.lib.Platform;
! import jdk.test.lib.process.OutputAnalyzer;
! import jdk.test.lib.process.ProcessTools;
!
import java.util.regex.*;
public class TestSelectDefaultGC {
public static void assertVMOption(OutputAnalyzer output, String option, boolean value) {
output.shouldMatch(" " + option + " .*=.* " + value + " ");
< prev index next >