Closes #29552

The list returned from context.getAliasChecks() is not designed to be mutated directly. In later versions of Jetty (10+) this has become an unmodifiable list.

This PR changes the usage to instead use the context.clearAliasChecks() method which also manages the LifeCycle of the alias checker.

Comment From: pivotal-cla

@lachlan-roberts Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

Comment From: pivotal-cla

@lachlan-roberts Thank you for signing the Contributor License Agreement!