Skip to content
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

GenericApplicationContext should pick up ClassLoader from custom ResourceLoader [SPR-14626] #19193

Closed
spring-projects-issues opened this issue Aug 24, 2016 · 0 comments
Assignees
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

@spring-projects-issues spring-projects-issues commented Aug 24, 2016

Juergen Hoeller opened SPR-14626 and commented

GenericApplicationContext can be configured with a custom ClassLoader as well as with a custom ResourceLoader. When only configured with a custom ResourceLoader, that loader's getClassLoader() is not taken into account. We should pick up that ClassLoader over GenericApplicationContext's default if not explicitly overridden through a setClassLoader call.


Affects: 4.3.2

Issue Links:

  • #19174 AnnotationConfigApplicationContext does not consistently apply custom ClassLoader
  • SWF-1713 ClassNotFoundException (backwards compatibility issue)

Referenced from: commits 405e74b, 74bf659

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants