src/java.base/share/classes/jdk/internal/loader/URLClassPath.java

Print this page

        

*** 832,842 **** final URL url; try { String nm; if (jar.isMultiRelease()) { ! nm = SharedSecrets.javaUtilJarAccess().getRealName(jar, entry); } else { nm = name; } url = new URL(getBaseURL(), ParseUtil.encodePath(nm, false)); if (check) { --- 832,842 ---- final URL url; try { String nm; if (jar.isMultiRelease()) { ! nm = entry.getRealName(); } else { nm = name; } url = new URL(getBaseURL(), ParseUtil.encodePath(nm, false)); if (check) {