test/org/openjdk/jigsaw/cli/TimestampTest.java

Print this page

        

@@ -76,12 +76,10 @@
         "install",
         MNAME + "@0.1.jmod"
     };
 
     private String[] jpkgArgs = {
-        "-L",
-        "z.lib",
         "-m",
         "z.modules/" + MNAME,
         "jmod",
         MNAME
     };

@@ -144,11 +142,15 @@
     }
 
     void reset() {
         if (moduleDir.exists())
             deleteAll(moduleDir);
+
+        if (moduleDir.exists()) {
+            System.err.println("WARNING: removal of " + moduleDir + " failed.");
     }
+    }
 
     /**
      * Delete a file or a directory (including all its contents).
      */
     boolean deleteAll(File file) {