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
pull/20874/head
Oleg Zhurakousky 5 years ago committed by Madhura Bhave
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…
Cancel
Save