test/org/openjdk/jigsaw/cli/TimestampTest.java
Print this page
*** 76,87 ****
"install",
MNAME + "@0.1.jmod"
};
private String[] jpkgArgs = {
- "-L",
- "z.lib",
"-m",
"z.modules/" + MNAME,
"jmod",
MNAME
};
--- 76,85 ----
*** 144,154 ****
--- 142,156 ----
}
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) {