WebMvcConfigurationSupport
should not catch Throwable
for SourceHttpMessageConverter
#29537
Milestone
WebMvcConfigurationSupport
should not catch Throwable
for SourceHttpMessageConverter
#29537
The
WebMvcConfigurationSupport.addDefaultHttpMessageConverters()
method catchesThrowable
forSourceHttpMessageConverter
instantiation; whereas, the rest of the code base correctly catchesError
forSourceHttpMessageConverter
instantiation (to handle errors such asNoClassDefFoundError
).Throwable
should not be caught since it can mask other categories of failures (such as configuration errors).The text was updated successfully, but these errors were encountered: