ConstraintValidator instances are abusively cached independently of their corresponding
constraint declaration
--------------------------------------------------------------------------------------------------------------
Key: HV-243
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HV-243
Project: Hibernate Validator
Issue Type: Bug
Components: engine
Affects Versions: 4.0.0.CR1
Reporter: Emmanuel Bernard
@Size(max=20)
@Constraint
@interface A {
}
@Size(max=10)
@Constraint
@interface B {
}
@A @B
@Constraint
@interface C {
}
The same constraint validator instance is used for @Size(max=20) and @Size(max=10) =>
leading to erroneous reports.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira