equal
deleted
inserted
replaced
22 */ |
22 */ |
23 |
23 |
24 /* @test TestAllocateHeapAtError.java |
24 /* @test TestAllocateHeapAtError.java |
25 * @key gc |
25 * @key gc |
26 * @summary Test to check correct handling of non-existent directory passed to AllocateHeapAt option |
26 * @summary Test to check correct handling of non-existent directory passed to AllocateHeapAt option |
|
27 * @requires vm.gc != "Z" |
27 * @library /test/lib |
28 * @library /test/lib |
28 * @modules java.base/jdk.internal.misc |
29 * @modules java.base/jdk.internal.misc |
29 */ |
30 */ |
30 |
31 |
31 import java.io.File; |
32 import java.io.File; |
73 output.shouldContain("Could not create file for Heap"); |
74 output.shouldContain("Could not create file for Heap"); |
74 output.shouldContain("Error occurred during initialization of VM"); |
75 output.shouldContain("Error occurred during initialization of VM"); |
75 output.shouldNotHaveExitValue(0); |
76 output.shouldNotHaveExitValue(0); |
76 } |
77 } |
77 } |
78 } |
78 |
|