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:
Oleg Zhurakousky 2020-04-06 15:20:42 +02:00 committed by Madhura Bhave
parent ed9cace2eb
commit 9f75f30856
1 changed files with 1 additions and 1 deletions

View File

@ -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() {