This commit is contained in:
parent
c2235c5c2c
commit
459580459c
1 changed files with 1 additions and 1 deletions
|
@ -46,6 +46,6 @@ public class SimpleClassLoader extends ClassLoader {
|
|||
@Override
|
||||
protected Class<?> findClass(String name) {
|
||||
byte[] b = classes.get(name.replace('.', '/') + ".class");
|
||||
return defineClass(name, b, 0, b.length);
|
||||
return defineClass(name, b, 0, b.length, SimpleClassLoader.class.getProtectionDomain());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue