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:
Referenced from: commits cb3d1be, ac25db6
Juergen Hoeller opened SPR-15561 and commented
While
SpringValidatorAdapterproperly supportsunwrapcalls for the native JSR-303Validator, its subclassLocalValidatorFactoryBeandoes not supportunwrapfor the native JSR-303ValidatorFactorybut rather just inherits theValidator-level support.This needs to be revised towards proper
ValidatorFactoryunwrapping, in particular forgetClockProvider()access on BV 2.0 and alsogetParameterNameProvider()access on BV 1.1.Issue Links:
@LazyvalidatorReferenced from: commits cb3d1be, ac25db6