Skip to content

Change call to createClassLoader(URL) from 'super' to 'this' #20851

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

olegz
Copy link
Contributor

@olegz olegz commented Apr 6, 2020

ExecutableArchiveLauncher.createClassLoader(Iterator) calls createClassLoader(URL) method with 'super' effectively removing any chance the later method could be overriden and successfully called without overriding both methods.

ExecutableArchiveLauncher.createClassLoader(Iterator) calls createClassLoader(URL) method with 'super' effectively removing any chance the later method could be overriden and successfully called without overriding both methods.
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Apr 6, 2020
@wilkinsona wilkinsona added type: task A general task and removed status: waiting-for-triage An issue we've not yet triaged labels Apr 6, 2020
@wilkinsona wilkinsona added this to the 2.3.x milestone Apr 6, 2020
mbhave pushed a commit that referenced this pull request Apr 6, 2020
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
@mbhave mbhave closed this in c4b0bd1 Apr 6, 2020
@mbhave
Copy link
Contributor

mbhave commented Apr 6, 2020

Thanks @olegz. This has now been merged into master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: task A general task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants