@@ -25,10 +25,12 @@ * @test TestG1 * @key gc * @bug 8006398 * @summary Test that the G1 collector does not print a warning message * @library /testlibrary +* @build com.oracle.java.testlibrary.* +* @run main/othervm TestG1 */ import com.oracle.java.testlibrary.OutputAnalyzer; import com.oracle.java.testlibrary.ProcessTools;