Commit 680741fd authored by Phillip Webb's avatar Phillip Webb

Fix LaunchedURLClassLoader Java 1.6 compatibility

parent cd2c1896
......@@ -46,7 +46,7 @@ public class LaunchedURLClassLoader extends URLClassLoader {
@Override
protected Class<?> loadClass(String name, boolean resolve)
throws ClassNotFoundException {
synchronized (getClassLoadingLock(name)) {
synchronized (this) {
Class<?> loadedClass = findLoadedClass(name);
if (loadedClass == null) {
loadedClass = doLoadClass(name);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment