fix new lockup issue (i love java)
This commit is contained in:
parent
484117aaf5
commit
1b0a3eba96
1 changed files with 2 additions and 2 deletions
|
@ -119,7 +119,7 @@ public class CustomClassLoader extends ClassLoader implements Util {
|
|||
}
|
||||
|
||||
@Override
|
||||
protected synchronized Class<?> findClass(String name) throws ClassNotFoundException {
|
||||
protected Class<?> findClass(String name) throws ClassNotFoundException {
|
||||
synchronized (Launch.classLoader) {
|
||||
if (names.contains(name.replace('.', '/') + ".class")) {
|
||||
Class<?> clazz = loadBBClass(name);
|
||||
|
@ -135,7 +135,7 @@ public class CustomClassLoader extends ClassLoader implements Util {
|
|||
}
|
||||
|
||||
@Override
|
||||
public synchronized Class<?> loadClass(String name) throws ClassNotFoundException {
|
||||
public Class<?> loadClass(String name) throws ClassNotFoundException {
|
||||
synchronized (Launch.classLoader) {
|
||||
return super.loadClass(name);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue