Validator not found for @Size on non-parameterized Map/Collection properties

Description

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.

Exception stacktrace:

Environment

None

Status

Assignee

Guillaume Smet

Reporter

Konstantin Kulagin

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Affects versions

Priority

Major
Configure