Skip to content

Fix package tangle caused by ApplicationContextFactory #30272

@wilkinsona

Description

@wilkinsona

Package tangle caused by ApplicationContextFactory

The move away from reflection in #22322 has introduced a package tangle as org.springframework.boot now directly references org.springframework.boot.web.servlet.context. Previously, this was hidden via the use of reflection.

Things have moved on since #22322 such that the use of reflection may no longer be a problem. For example, Spring Native configures its own ApplicationContextFactory when AOT is enabled so the default factory isn't used in that situation. It may be possible to fix this, or at least hide it again, by reintroducing the use of reflection.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions