Skip to content

Change SpringBootContextLoader.getEnvironment to return null by default #29405

@philwebb

Description

@philwebb

SpringBootContextLoader.getEnvironment() is designed to allow a custom Environment to be returned by a subclass. We've kept the existing StandardEnvironment return in case existing users call super.getEnvironment(), but it would be clearer if the default return value were null.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions