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

ConfigurationClassParser.invokeAwareMethods(…) does not consider EnvironmentAware [SPR-11744] #16366

spring-projects-issues opened this issue Apr 28, 2014 · 0 comments
in: core type: enhancement


Copy link

@spring-projects-issues spring-projects-issues commented Apr 28, 2014

Oliver Drotbohm opened SPR-11744 and commented

In Spring 3.2.x ConfigurationClassParser.invokeAwareMethods(…) does not check for the registrar implementing EnvironmentAware. Thus registrars implementing that interface and relying on the Environment being non-null on the call to registerBeanDefinitions(…) will fail.

This works on 4.0.x, as the method has the additional check and will invoke setEnvironment(…).

Affects: 3.2.8

Issue Links:

  • DATACMNS-494 Remove defaulting of Environment from RepositoryBeanDefinitionRegistrarSupport ("is depended on by")
@spring-projects-issues spring-projects-issues added type: enhancement in: core labels Jan 11, 2019
@spring-projects-issues spring-projects-issues added this to the 3.2.9 milestone Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
in: core type: enhancement
None yet

No branches or pull requests

2 participants