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

Print this page

        

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