< prev index next >
test/tools/jlink/plugins/FileCopierPluginTest.java
Print this page
*** 111,121 ****
throw new AssertionError("Null stream for file " + f.path());
}
});
Path root = new File(".").toPath();
DefaultImageBuilder imgbuilder = new DefaultImageBuilder(root);
! imgbuilder.storeFiles(pool);
if (lic.exists()) {
File license = new File(root.toFile(), "LICENSE.txt");
if (!license.exists() || license.length() == 0) {
throw new AssertionError("Invalid license file "
--- 111,121 ----
throw new AssertionError("Null stream for file " + f.path());
}
});
Path root = new File(".").toPath();
DefaultImageBuilder imgbuilder = new DefaultImageBuilder(root);
! imgbuilder.storeFiles(Collections.emptySet(), pool);
if (lic.exists()) {
File license = new File(root.toFile(), "LICENSE.txt");
if (!license.exists() || license.length() == 0) {
throw new AssertionError("Invalid license file "
< prev index next >