Validation of a bean property looking like:
Fails with exception (see below).
However changing property to
does validation fine.
Looks like there is an issue in org.hibernate.validator.internal.util.TypeHelper class isAssignable method which does not resolves parametrized maps correctly.
Not sure if the same applies to parametrized collections.