Branch: refs/heads/7.0
Home:
https://github.com/hibernate/hibernate-validator
Commit: 58a3f818fd626a9afd1edfb5c5e755e186f45f92
https://github.com/hibernate/hibernate-validator/commit/58a3f818fd626a9af...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2022-09-12 (Mon, 12 Sep 2022)
Changed paths:
M
engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanExecutable.java
M
engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanParameter.java
M engine/src/main/java/org/hibernate/validator/internal/util/logging/Log.java
Log Message:
-----------
HV-1927 Use Executable#getAnnotatedParameterTypes() instead of
Executable#getGenericParameterTypes()
getGenericParameterTypes() is problematic with synthetic and implicit
parameters and we used to have ugly workarounds and warnings. Using
getAnnotatedParameterTypes() solves the issue.
I was extremely conservative in the changes as I want to be able to
backport it.