test/gc/startup_warnings/TestSerialGC.java

Print this page
rev 7249 : 8062537: [TESTBUG] Conflicting GC combinations in hotspot tests

@@ -23,10 +23,11 @@
 
 /*
 * @test TestSerialGC
 * @key gc
 * @bug 8006398
+* @requires vm.gc=="Serial" | vm.gc=="null"
 * @summary Test that SerialGC does not print a warning message
 * @library /testlibrary
 */
 
 import com.oracle.java.testlibrary.OutputAnalyzer;