maybe *don't* dump all class names on startup

This commit is contained in:
Daniella / Tove 2023-09-29 08:11:57 +02:00
parent c2230feb30
commit 91fbc78cd7
Signed by: TudbuT
GPG key ID: 7D63D5634B7C417F

View file

@ -108,7 +108,6 @@ public class CustomClassloader extends ClassLoader {
@Override
protected Class<?> findClass(String name) throws ClassNotFoundException {
if(name.contains("baseband") || name.startsWith("de.tudbut")) {
System.out.println("Accessing BaseBand class " + name);
final byte[][] data = {null};
encryptedClasses.access(accessor -> Loader.classKey.access(classKey -> data[0] = classKey.getValue().decryptByte(accessor.getValue().get(name))));
if (data[0] != null) {