Skip to content

Commit

Permalink
Not needed as checked for being a jar.
Browse files Browse the repository at this point in the history
  • Loading branch information
raphw committed Dec 22, 2024
1 parent da6026b commit d90b774
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1446,9 +1446,7 @@ private static File trySelfResolve(Class<?> installer) throws IOException {
return null;
}
URL location = codeSource.getLocation();
if (!location.getProtocol().equals("file")
|| location.getPath() != null
&& location.getPath().endsWith(".java")) {
if (!location.getProtocol().equals("file")) {
return null;
}
File agentJar;
Expand Down

0 comments on commit d90b774

Please sign in to comment.