fix ProtectionDomain
All checks were successful
/ Build BaseBand Loader (push) Successful in 2m0s

This commit is contained in:
Daniella / Tove 2024-10-14 02:33:22 +02:00
parent c2235c5c2c
commit 459580459c
Signed by: TudbuT
GPG key ID: B3CF345217F202D3

View file

@ -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());
}
}