< prev index next >

src/jdk.jlink/share/classes/jdk/tools/jimage/JImageTask.java

Print this page

        

*** 200,210 **** Path jimage = options.jimages.get(0).toPath(); if (jimage.toFile().createNewFile()) { ImagePluginStack pc = ImagePluginConfiguration.parseConfiguration(taskHelper. ! getPluginsConfig(null, false)); ExtractedImage img = new ExtractedImage(dirPath, pc, log, options.verbose); img.recreateJImage(jimage); } else { throw taskHelper.newBadArgs("err.jimage.already.exists", jimage.getFileName()); } --- 200,210 ---- Path jimage = options.jimages.get(0).toPath(); if (jimage.toFile().createNewFile()) { ImagePluginStack pc = ImagePluginConfiguration.parseConfiguration(taskHelper. ! getPluginsConfig(null)); ExtractedImage img = new ExtractedImage(dirPath, pc, log, options.verbose); img.recreateJImage(jimage); } else { throw taskHelper.newBadArgs("err.jimage.already.exists", jimage.getFileName()); }
< prev index next >