Commit 9f75f308 authored by Oleg Zhurakousky's avatar Oleg Zhurakousky Committed by Madhura Bhave

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
parent ed9cace2
......@@ -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() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment