< prev index next >
test/runtime/ErrorHandling/TestOnOutOfMemoryError.java
Print this page
*** 23,39 ****
/*
* @test TestOnOutOfMemoryError
* @summary Test using -XX:OnOutOfMemoryError=<cmd>
* @modules java.base/jdk.internal.misc
! * @library /testlibrary
! * @build TestOnOutOfMemoryError
* @run main TestOnOutOfMemoryError
* @bug 8078470
*/
! import jdk.test.lib.*;
public class TestOnOutOfMemoryError {
public static void main(String[] args) throws Exception {
if (args.length == 1) {
--- 23,39 ----
/*
* @test TestOnOutOfMemoryError
* @summary Test using -XX:OnOutOfMemoryError=<cmd>
* @modules java.base/jdk.internal.misc
! * @library /test/lib
* @run main TestOnOutOfMemoryError
* @bug 8078470
*/
! import jdk.test.lib.process.ProcessTools;
! import jdk.test.lib.process.OutputAnalyzer;
public class TestOnOutOfMemoryError {
public static void main(String[] args) throws Exception {
if (args.length == 1) {
< prev index next >