--- old/test/runtime/ErrorHandling/TestOnOutOfMemoryError.java 2016-08-11 13:35:45.053737100 -0400 +++ new/test/runtime/ErrorHandling/TestOnOutOfMemoryError.java 2016-08-11 13:35:44.647879500 -0400 @@ -25,13 +25,13 @@ * @test TestOnOutOfMemoryError * @summary Test using -XX:OnOutOfMemoryError= * @modules java.base/jdk.internal.misc - * @library /testlibrary - * @build TestOnOutOfMemoryError + * @library /test/lib * @run main TestOnOutOfMemoryError * @bug 8078470 */ -import jdk.test.lib.*; +import jdk.test.lib.process.ProcessTools; +import jdk.test.lib.process.OutputAnalyzer; public class TestOnOutOfMemoryError {