< prev index next >

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

Print this page

        

*** 194,204 **** mainOptions.add(new PlugOption(false, (task, opt, arg) -> { // This option is handled prior // to have the options parsed. }, ! "--plugins-modulepath")); mainOptions.add(new PlugOption(true, (task, opt, arg) -> { Path path = Paths.get(arg); if (!Files.exists(path) || !Files.isDirectory(path)) { throw newBadArgs("err.existing.image.must.exist"); } --- 194,204 ---- mainOptions.add(new PlugOption(false, (task, opt, arg) -> { // This option is handled prior // to have the options parsed. }, ! "--plugin-module-path")); mainOptions.add(new PlugOption(true, (task, opt, arg) -> { Path path = Paths.get(arg); if (!Files.exists(path) || !Files.isDirectory(path)) { throw newBadArgs("err.existing.image.must.exist"); }
< prev index next >