Adjust source in test class to work around eclipse compiler bug
Issue: SPR-15586
This commit is contained in:
parent
805fcc6a05
commit
109746a03b
|
@ -514,8 +514,9 @@ public class ConfigurationClassProcessingTests {
|
|||
void register(GenericApplicationContext ctx) {
|
||||
ctx.registerBean("spouse", TestBean.class,
|
||||
() -> new TestBean("functional"));
|
||||
Supplier<TestBean> testBeanSupplier = () -> new TestBean(ctx.getBean("spouse", TestBean.class));
|
||||
ctx.registerBean(TestBean.class,
|
||||
() -> new TestBean(ctx.getBean("spouse", TestBean.class)),
|
||||
testBeanSupplier,
|
||||
bd -> bd.setPrimary(true));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue