< prev index next >
test/hotspot/jtreg/gc/TestAllocateHeapAtError.java
Print this page
@@ -22,10 +22,11 @@
*/
/* @test TestAllocateHeapAtError.java
* @key gc
* @summary Test to check correct handling of non-existent directory passed to AllocateHeapAt option
+ * @requires vm.gc != "Z"
* @library /test/lib
* @modules java.base/jdk.internal.misc
*/
import java.io.File;
@@ -73,6 +74,5 @@
output.shouldContain("Could not create file for Heap");
output.shouldContain("Error occurred during initialization of VM");
output.shouldNotHaveExitValue(0);
}
}
-
< prev index next >