Description:
|
If a method overrides a method from a super-class, its {{@ValidateOnExecution}} settings must be taken from the overridden method.
This works for implemented interface methods, but not overridden class methods (in {{ValidationExtension#determineConstrainedMethod}} only {{ReflectionHelper.computeAllImplementedMethods( type.getJavaClass() )}} is invoked).
See
* {{ExecutableValidationTest#
testExecutableValidationUsesDefaultSettingSinceValidatedMethodOverridesASuperTypeMethod
testExecutableValidationUsesDefaultSettingIfValidatedMethodOverridesASuperTypeMethod
()}} * {{ExecutableValidationTest#
testExecutableValidationUsesSettingFromSuperTypeMethodSinceValidatedMethodOverridesASuperTypeMethod
testExecutableValidationUsesSettingFromSuperTypeMethodIfValidatedMethodOverridesASuperTypeMethod
()}} * {{ExecutableValidationTest#
testExecutableValidationUsesSettingFromSuperTypeSinceValidatedMethodOverridesASuperTypeMethod
testExecutableValidationUsesSettingFromSuperTypeIfeValidatedMethodOverridesASuperTypeMethod
()}}
|