[hibernate-issues] [Hibernate-JIRA] Resolved: (HV-243) ConstraintValidator instances are abusively cached independently of their corresponding constraint declaration

Hardy Ferentschik (JIRA) noreply at atlassian.com
Wed Sep 30 16:26:50 EDT 2009


     [ http://opensource.atlassian.com/projects/hibernate/browse/HV-243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hardy Ferentschik resolved HV-243.
----------------------------------

    Resolution: Fixed

> 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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list