|
HV fails to process constraints which are declared as package-private (i.e. no "public" modifier) and are used on a bean in the same package. The error only shows up on Java 8, apparently some changes with respect to access checks happened. The TCK test ConstraintDefinitionsTest#testConstraintWithCustomAttributes() fails due to that.
To fix the issue, invoked annotation members should be set accessible prior to invocation (ConstraintHelper#getMultiValueConstraints(), {{ConstraintDescriptorImpl#buildAnnotationParameterMap()}}
|