Closed
Description
Juergen Hoeller opened SPR-15561 and commented
While SpringValidatorAdapter
properly supports unwrap
calls for the native JSR-303 Validator
, its subclass LocalValidatorFactoryBean
does not support unwrap
for the native JSR-303 ValidatorFactory
but rather just inherits the Validator
-level support.
This needs to be revised towards proper ValidatorFactory
unwrapping, in particular for getClockProvider()
access on BV 2.0 and also getParameterNameProvider()
access on BV 1.1.
Issue Links:
- Compatibility with Bean Validation 2.0 and JPA 2.2 [SPR-13482] #18061 Compatibility with Bean Validation 2.0 and JPA 2.2 ("is depended on by")
- AbstractMethodError when calling validated method of MethodValidationPostProcessor is using a @Lazy validator [SPR-15629] #20188 AbstractMethodError when calling validated method of MethodValidationPostProcessor is using a
@Lazy
validator