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")