Hi,
I started using bean validator 5.2.0 Alpha 1 on a Java 8 stand-alone application and found the following potential issue:
The class org.hibernate.validator.internal.metadata.provider.TypeAnnotationAwareMetaDataProvider logs the following at warning level:
Code:
HV000188: ParameterMessageInterpolator has been chosen, EL interpolation will not be supported
Now this could have been because there's no EL (which was the case at first), but that message is actually logged while doing type introspection. More specifically, TypeAnnotationAwareMetaDataProvider.getTypeParameter shows this warning whenever there's a non-Map attribute using generics with more than one type. So I see two issues:
- The message is probably not what is intended for that situation
- A warning message is probably overkill in that case, if required at all
Am I missing something or should I open a defect?
Thanks,