test/gc/startup_warnings/TestDefNewCMS.java

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

@@ -23,10 +23,11 @@
 
 /*
 * @test TestDefNewCMS
 * @key gc
 * @bug 8006398
+* @requires vm.gc=="ConcMarkSweep" | vm.gc=="null"
 * @summary Test that the deprecated DefNew+CMS combination print a warning message
 * @library /testlibrary
 */
 
 import com.oracle.java.testlibrary.OutputAnalyzer;