diff --git a/Loader/src/main/java/de/com/baseband/launcher/classloader/SimpleClassLoader.java b/Loader/src/main/java/de/com/baseband/launcher/classloader/SimpleClassLoader.java index 6e07fe6..a06640e 100644 --- a/Loader/src/main/java/de/com/baseband/launcher/classloader/SimpleClassLoader.java +++ b/Loader/src/main/java/de/com/baseband/launcher/classloader/SimpleClassLoader.java @@ -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()); } }