Change call to createClassLoader(URL) from 'super' to 'this'
ExecutableArchiveLauncher.createClassLoader(Iterator) calls createClassLoader(URL) method with 'super'. This means overriding createClassLoader(URL) is not possible without also overriding createClassLoader(Iterator). The switch to 'this' enables that. See gh-20851
This commit is contained in:
parent
ed9cace2eb
commit
9f75f30856
|
|
@ -89,7 +89,7 @@ public abstract class ExecutableArchiveLauncher extends Launcher {
|
|||
if (this.classPathIndex != null) {
|
||||
urls.addAll(this.classPathIndex.getUrls());
|
||||
}
|
||||
return super.createClassLoader(urls.toArray(new URL[0]));
|
||||
return this.createClassLoader(urls.toArray(new URL[0]));
|
||||
}
|
||||
|
||||
private int guessClassPathSize() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue