< prev index next >

test/tools/jlink/plugins/FileCopierPluginTest.java

Print this page

        

*** 99,111 **** throw new AssertionError("Null stream for file " + f.getPath()); } } Path root = new File(".").toPath(); ! DefaultImageBuilder imgbuilder = new DefaultImageBuilder(false, ! root); ! imgbuilder.storeFiles(pool, ""); if (lic.exists()) { File license = new File(root.toFile(), "LICENSE"); if (!license.exists() || license.length() == 0) { throw new AssertionError("Invalide license file " --- 99,110 ---- throw new AssertionError("Null stream for file " + f.getPath()); } } Path root = new File(".").toPath(); ! DefaultImageBuilder imgbuilder = new DefaultImageBuilder(root); ! imgbuilder.storeFiles(pool); if (lic.exists()) { File license = new File(root.toFile(), "LICENSE"); if (!license.exists() || license.length() == 0) { throw new AssertionError("Invalide license file "
< prev index next >