< prev index next >
test/runtime/SharedArchiveFile/ArchiveDoesNotExist.java
Print this page
@@ -25,17 +25,18 @@
* @test ArchiveDoesNotExist
* @summary Test how VM handles "file does not exist" situation while
* attempting to use CDS archive. JVM should exit gracefully
* when sharing mode is ON, and continue w/o sharing if sharing
* mode is AUTO.
- * @library /testlibrary
+ * @library /test/lib
* @modules java.base/jdk.internal.misc
* java.management
* @run main ArchiveDoesNotExist
*/
-import jdk.test.lib.*;
+import jdk.test.lib.process.ProcessTools;
+import jdk.test.lib.process.OutputAnalyzer;
import java.io.File;
public class ArchiveDoesNotExist {
public static void main(String[] args) throws Exception {
String fileName = "ArchiveDoesNotExist.jsa";
< prev index next >