Defensively ignore AbstractMethodError from parameterNameProvider

Issue: SPR-15856
This commit is contained in:
Juergen Hoeller 2017-09-10 20:48:25 +02:00
parent d1f42ac729
commit 0d0399ac02
1 changed files with 1 additions and 1 deletions

View File

@ -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
}
}