-
Notifications
You must be signed in to change notification settings - Fork 38.6k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement
Milestone
Description
It is currently possible to craft the following faulty configuration:
@Configuration
public class FaultyConfiguration {
@Bean
public void faultyBean() {
System.out.println("Hello");
}
}
As a result of processing this configuration class, "Hello" is displayed during the processing phase and a NullBean
bean is contributed. We should reject this upfront.
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement