fix lockup again?
All checks were successful
/ Build BaseBand Loader (push) Successful in 1m37s

This commit is contained in:
Daniella / Tove 2024-06-12 12:46:27 +02:00
parent c58912c0ee
commit 2272781009
Signed by: TudbuT
GPG key ID: B3CF345217F202D3

View file

@ -132,7 +132,7 @@ public class CustomClassLoader extends ClassLoader implements Util {
}
private Class<?> loadBBClass(String name) {
Set<ClassLoader> uniqueClassLoaders = Thread.getAllStackTraces().keySet().stream()
/*Set<ClassLoader> uniqueClassLoaders = Thread.getAllStackTraces().keySet().stream()
.map(Thread::getContextClassLoader)
.filter(Objects::nonNull)
.collect(Collectors.toSet());
@ -156,7 +156,7 @@ public class CustomClassLoader extends ClassLoader implements Util {
} catch (Exception e) {
exit();
}
}
}*/
final byte[][] bytes = {null};
binaryKeeper.access(m -> bytes[0] = m.getValue().get(name.replace('.', '/') + ".class"));
if (bytes[0] != null) {