< prev index next >

src/jdk.jdeps/share/classes/com/sun/tools/jdeps/VersionHelper.java

Print this page

        

@@ -25,11 +25,10 @@
 
 package com.sun.tools.jdeps;
 
 import com.sun.tools.classfile.ClassFile;
 import com.sun.tools.classfile.ConstantPoolException;
-import jdk.internal.misc.SharedSecrets;
 
 import java.util.Map;
 import java.util.concurrent.ConcurrentHashMap;
 import java.util.jar.JarEntry;
 import java.util.jar.JarFile;

@@ -46,11 +45,11 @@
     }
 
     public static void add(JarFile jarfile, JarEntry e, ClassFile cf)
             throws ConstantPoolException
     {
-        String realName = SharedSecrets.javaUtilJarAccess().getRealName(jarfile, e);
+        String realName = e.getRealName();
         if (realName.startsWith(META_INF_VERSIONS)) {
             int len = META_INF_VERSIONS.length();
             int n = realName.indexOf('/', len);
             if (n > 0) {
                 String version = realName.substring(len, n);
< prev index next >