mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-29 13:39:16 +00:00
Determine parent ClassLoader in CLI in a more robust manner
Closes gh-11745
This commit is contained in:
+1
-1
@@ -176,7 +176,7 @@ public class ExtendedGroovyClassLoader extends GroovyClassLoader {
|
||||
DefaultScopeParentClassLoader(ClassLoader parent) {
|
||||
super(parent);
|
||||
this.groovyOnlyClassLoader = new URLClassLoader(getGroovyJars(parent),
|
||||
parent.getParent().getParent());
|
||||
getClass().getClassLoader().getParent());
|
||||
}
|
||||
|
||||
private URL[] getGroovyJars(ClassLoader parent) {
|
||||
|
||||
Reference in New Issue
Block a user