Skip to content

DEFAULT_PHASE of SmartLifecycle interface has incorrect Javadoc #23956

@molekyla

Description

@molekyla

Affects: 5.1.x

Javadoc says:

The default phase for SmartLifecycle Integer.MAX_VALUE. This is different from the common phase 0 associated with regular Lifecycle implementations, putting the typically auto-started SmartLifecycle beans into a separate later shutdown phase

But in fact instances with greater phase property in shutdown phase executed firstly. So there is a bug or staled javadoc?

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)status: backportedAn issue that has been backported to maintenance branchestype: documentationA documentation task

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions