< prev index next >

src/jdk.jlink/share/classes/jdk/tools/jlink/internal/TaskHelper.java

Print this page

        

*** 335,346 **** } } return null; } ! private PluginsConfiguration getPluginsConfig(Path output, ! boolean genbom) throws IOException, BadArgs { if (output != null) { if (Files.exists(output)) { throw new PluginException(PluginsResourceBundle. getMessage("err.dir.already.exits", output)); } --- 335,346 ---- } } return null; } ! private PluginsConfiguration getPluginsConfig(Path output ! ) throws IOException, BadArgs { if (output != null) { if (Files.exists(output)) { throw new PluginException(PluginsResourceBundle. getMessage("err.dir.already.exits", output)); }
*** 365,375 **** } // recreate or postprocessing don't require an output directory. ImageBuilder builder = null; if (output != null) { ! builder = new DefaultImageBuilder(genbom, output); } return new Jlink.PluginsConfiguration(pluginsList, builder, lastSorter, pluginContext); } --- 365,375 ---- } // recreate or postprocessing don't require an output directory. ImageBuilder builder = null; if (output != null) { ! builder = new DefaultImageBuilder(output); } return new Jlink.PluginsConfiguration(pluginsList, builder, lastSorter, pluginContext); }
*** 674,686 **** public void warning(String key, Object... args) { log.println(bundleHelper.getMessage("warn.prefix") + " " + bundleHelper.getMessage(key, args)); } ! public PluginsConfiguration getPluginsConfig(Path output, boolean genbom) throws IOException, BadArgs { ! return pluginOptions.getPluginsConfig(output, genbom); } public Path getExistingImage() { return pluginOptions.existingImage; } --- 674,686 ---- public void warning(String key, Object... args) { log.println(bundleHelper.getMessage("warn.prefix") + " " + bundleHelper.getMessage(key, args)); } ! public PluginsConfiguration getPluginsConfig(Path output) throws IOException, BadArgs { ! return pluginOptions.getPluginsConfig(output); } public Path getExistingImage() { return pluginOptions.existingImage; }
< prev index next >