HHH-8759 removed java 7 dependency in OsgiClassLoader
This commit is contained in:
parent
d430846076
commit
685e33ae0c
|
@ -62,7 +62,6 @@ public class OsgiClassLoader extends ClassLoader {
|
|||
@Override
|
||||
@SuppressWarnings("rawtypes")
|
||||
protected Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundException {
|
||||
synchronized (getClassLoadingLock(name)) {
|
||||
if ( classCache.containsKey( name ) ) {
|
||||
return classCache.get( name );
|
||||
}
|
||||
|
@ -90,7 +89,6 @@ public class OsgiClassLoader extends ClassLoader {
|
|||
catch ( Exception ignore ) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
throw new ClassNotFoundException( "Could not load requested class : " + name );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue