This commit is contained in:
parent
c58912c0ee
commit
2272781009
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue