@@ -25,10 +25,12 @@ * @test TestNoParNew * @key gc * @bug 8065972 * @summary Test that specifying -XX:-UseParNewGC on the command line logs a warning message * @library /testlibrary +* @build com.oracle.java.testlibrary.* +* @run main/othervm TestNoParNew */ import com.oracle.java.testlibrary.OutputAnalyzer; import com.oracle.java.testlibrary.ProcessTools;