Skip to content
Browse files

Merge remote branch 'origin/next' into next

  • Loading branch information...
2 parents 0f4f49c + a12cbfd commit 4d78067ebe55c0097aa67a88bbe1ba4318af3aa2 @toad toad committed
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/freenet/support/JarClassLoader.java
View
4 src/freenet/support/JarClassLoader.java
@@ -155,6 +155,10 @@ protected URL findResource(String name) {
name = name.substring(1);
}
try {
+ if(tempJarFile.getJarEntry(name)==null) {
+ return null;
+ }
+
return new URL("jar:" + new File(tempJarFile.getName()).toURI().toURL() + "!/" + name);
} catch (MalformedURLException e) {
}

0 comments on commit 4d78067

Please sign in to comment.
Something went wrong with that request. Please try again.