Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jbedell-newrelic committed Jul 28, 2023
1 parent a568356 commit ba5b1fb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public static InputStream getInputStream(URL url) throws IOException {
String path = url.toExternalForm().substring(index + entry.getKey().length());
// add 1 to skip past the `.` and the value length, which is the length of the file extension
url = new URL(url.toExternalForm().substring(0, index + 1 + entry.getValue().length()));
// For some reason, some JAR files cannot be read properly by JarInputStream, at least the getNextJatEntry methodI
// For some reason, some JAR files cannot be read properly by JarInputStream, at least the getNextJarEntry method
// perhaps related to entry order (https://bugs.openjdk.org/browse/JDK-8031748)
JarFile jarFile = new JarFile(url.getFile());
JarEntry innerEntry = jarFile.getJarEntry(path);
Expand Down

0 comments on commit ba5b1fb

Please sign in to comment.