aboutsummaryrefslogtreecommitdiffstats
path: root/netx/net
diff options
context:
space:
mode:
Diffstat (limited to 'netx/net')
-rw-r--r--netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java b/netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
index 1a41c1d..b90362a 100644
--- a/netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
+++ b/netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
@@ -1367,5 +1367,21 @@ public class JNLPClassLoader extends URLClassLoader {
public JNLPClassLoader getParentJNLPClassLoader() {
return parentJNLPClassLoader;
}
+
+ @Override
+ public Enumeration<URL> findResources(String name) throws IOException {
+ if (!name.startsWith("META-INF")) {
+ return super.findResources(name);
+ }
+ return (new Vector<URL>(0)).elements();
+ }
+
+ @Override
+ public URL findResource(String name) {
+ if (!name.startsWith("META-INF")) {
+ return super.findResource(name);
+ }
+ return null;
+ }
}
}