As of Spring Framework 6.0, several path matching options have been deprecated and the PathPatternParser is being chosen by default over the AntPathMatcher. The Java configuration upgrade has been done progressively and deprecated options are going to be retired in #34036 and #34018.

We received feedback from customers about gaps in the upgrade experience in the mvc XML configuration namespace. While this configuration option is going to be deprecated itself in #34063, we should ensure that the upgrade experience is good.

Targeting this issue for 6.2.x with backports in 6.1.x and commercial versions.