Added parent/parent class loader to the launcegr loader

This commit is contained in:
Oleg Zhurakousky
2019-08-07 20:09:43 +02:00
parent d53fc6b672
commit bac9978972

View File

@@ -109,7 +109,7 @@ class ExternalFunctionJarLauncher extends JarLauncher {
* While LaunchedURLClassLoader is completely disconnected with the current
* class loader, this will still allow it to see FunctionContextUtils
*/
return new ClassLoader(new LaunchedURLClassLoader(urls, null)) {
return new ClassLoader(new LaunchedURLClassLoader(urls, getClass().getClassLoader().getParent())) {
boolean functionContextUtilsLoaded;
@Override