Class JarIndexAccess
java.lang.Object
net.adoptopenjdk.icedteaweb.jdk89access.JarIndexAccess
Class providing jar index access using sun.misc.JarIndex for both jdk8 and jdk9.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classBecause starting of JAVA 21 the JarIndex is no longer supported we provide a dummy implementation which always returnsnull. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate LinkedList<String> static JarIndexAccessgetJarIndex(JarFile jarFile) private static JarIndexAccessgetJarIndexImpl(JarFile jarFile)
-
Field Details
-
LOG
-
CLASS_SUN_MISC_JAR_INDEX
- See Also:
-
CLASS_JDK_INTERNAL_UTIL_JAR_JAR_INDEX
- See Also:
-
METHOD_GET_JAR_INDEX
- See Also:
-
METHOD_GET
- See Also:
-
jarIndexClass
-
parent
-
-
Constructor Details
-
JarIndexAccess
-
-
Method Details
-
getJarIndex
-
getJarIndexImpl
private static JarIndexAccess getJarIndexImpl(JarFile jarFile) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException -
get
-
getImpl
private LinkedList<String> getImpl(String replace) throws NoSuchMethodException, IllegalAccessException, IllegalArgumentException, InvocationTargetException
-