test/gc/startup_warnings/TestG1.java

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

@@ -22,10 +22,11 @@
 */
 
 /*
 * @test TestG1
 * @key gc
+* @requires vm.gc=="G1" | vm.gc=="null"
 * @bug 8006398
 * @summary Test that the G1 collector does not print a warning message
 * @library /testlibrary
 */