[hibernate-issues] [Hibernate-JIRA] Commented: (HV-169) Make sure Validator is concurrent safe

Emmanuel Bernard (JIRA) noreply at atlassian.com
Thu Jun 11 15:46:20 EDT 2009


    [ http://opensource.atlassian.com/projects/hibernate/browse/HV-169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=33392#action_33392 ] 

Emmanuel Bernard commented on HV-169:
-------------------------------------

ConstraintHelper state is shared and modified concurrently. Needs to be guarded.
 => I've made the attributes ConcurrentHashMap but I'm not sure about the Lists inside these

ConstraintDescriptorImpl does not seem to be guarded either. Some state is built but the state is not guaranteed to be propagated to all threads at read time.

I'm sure I've left over other classes

Hardy, let's chat together to see how to solve this class of problems.


> Make sure Validator is concurrent safe
> --------------------------------------
>
>                 Key: HV-169
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-169
>             Project: Hibernate Validator
>          Issue Type: Bug
>          Components: engine
>    Affects Versions: 4.0.0.Beta1
>            Reporter: Emmanuel Bernard
>             Fix For: 4.0.0.Beta2
>
>


-- 
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