The FreeMarkerViewResolver (and other template-based resolvers) in Spring Framework avoid using reflection if they know how to instantiate the view class. This change aligns with them.
Comment From: wilkinsona
See https://github.com/spring-projects/spring-framework/issues/25847 for details of the related Framework change