mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-27 01:19:02 +00:00
Defensively ignore AbstractMethodError from parameterNameProvider
Issue: SPR-15856
This commit is contained in:
+1
-1
@@ -353,7 +353,7 @@ public class LocalValidatorFactoryBean extends SpringValidatorAdapter
|
||||
ReflectionUtils.invokeMethod(parameterNameProviderMethod, configuration, parameterNameProvider);
|
||||
|
||||
}
|
||||
catch (Exception ex) {
|
||||
catch (Throwable ex) {
|
||||
// Bean Validation 1.1 API not available - simply not applying the ParameterNameDiscoverer
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user