Defensively ignore AbstractMethodError from parameterNameProvider
Issue: SPR-15856
This commit is contained in:
parent
d1f42ac729
commit
0d0399ac02
|
|
@ -353,7 +353,7 @@ public class LocalValidatorFactoryBean extends SpringValidatorAdapter
|
||||||
ReflectionUtils.invokeMethod(parameterNameProviderMethod, configuration, parameterNameProvider);
|
ReflectionUtils.invokeMethod(parameterNameProviderMethod, configuration, parameterNameProvider);
|
||||||
|
|
||||||
}
|
}
|
||||||
catch (Exception ex) {
|
catch (Throwable ex) {
|
||||||
// Bean Validation 1.1 API not available - simply not applying the ParameterNameDiscoverer
|
// Bean Validation 1.1 API not available - simply not applying the ParameterNameDiscoverer
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue