You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SpringProperties: the ClassLoader might be null, if class is loaded by the bootstrap class loader [SPR-11721] #16343
in: coreIssues in core modules (aop, beans, core, context, expression)status: backportedAn issue that has been backported to maintenance branchestype: bugA general bug
Indeed, getClassLoader() may return null for the bootstrap loader depending on the JVM. We're falling back to ClassLoader.getSystemResource(name) now, since even ClassLoader.getSystemClassLoader() may return null...
While being at it, I've updated all our classpath resource accessing spots with a fallback to the system ClassLoader or (if even that is null) to getSystemResource(s).
in: coreIssues in core modules (aop, beans, core, context, expression)status: backportedAn issue that has been backported to maintenance branchestype: bugA general bug
Activity
spring-projects-issues commentedon Apr 23, 2014
Juergen Hoeller commented
Indeed, getClassLoader() may return null for the bootstrap loader depending on the JVM. We're falling back to ClassLoader.getSystemResource(name) now, since even ClassLoader.getSystemClassLoader() may return null...
Juergen
spring-projects-issues commentedon Apr 23, 2014
Juergen Hoeller commented
While being at it, I've updated all our classpath resource accessing spots with a fallback to the system ClassLoader or (if even that is null) to getSystemResource(s).
Juergen
spring-projects-issues commentedon May 12, 2014
Juergen Hoeller commented
Artem, does this work for you now, against 4.0.4 and/or the latest 3.2.9 snapshot? What does your deployment layout actually look like there?
Juergen
spring-projects-issues commentedon May 12, 2014
Artem Bilan commented
Thanks, Juergen, for your attention!
Spring Integration works well with those snapshots:
https://build.spring.io/browse/INT-MEIGHT
https://build.spring.io/browse/INT-SIJDK7
I can't say anything about that issue, because the original was from SO post. I mentioned there that you fixed it, but it is without feedback