Skip to content

ContextHandler.getAliasChecks() breaks Spring Boot #7440

@sbordet

Description

@sbordet

Jetty version(s)
9.4.45

Description
In 9.4.44, ContextHandler.getAliasChecks() returned a mutable collection, and Spring Boot's JettyServletWebServerFactory was calling ContextHandler.getAliasChecks().clear() -- instead of ContextHandler.clearAliasChecks().

In 9.4.45, the collection returned by getAliasChecks() is now immutable, so clear() now throws UnsupportedOperationException.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugFor general bugs on Jetty side

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions