< prev index next >

src/jdk.jlink/share/classes/jdk/tools/jlink/builder/DefaultImageBuilder.java

Print this page

        

*** 360,370 **** throw new IllegalArgumentException("invalid type: " + entry); String module = "/" + entry.moduleName() + "/"; String filename = entry.path().substring(module.length()); ! // Remove radical native|config|... return filename.substring(filename.indexOf('/') + 1); } /** * Returns the path of the given entry to be written in the image --- 360,370 ---- throw new IllegalArgumentException("invalid type: " + entry); String module = "/" + entry.moduleName() + "/"; String filename = entry.path().substring(module.length()); ! // Remove radical lib|config|... return filename.substring(filename.indexOf('/') + 1); } /** * Returns the path of the given entry to be written in the image
< prev index next >