You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Christian Semrau (JIRA)" <ji...@apache.org> on 2011/03/10 00:18:59 UTC

[jira] Created: (LANG-685) EqualsBuilder synchronizes on HashCodeBuilder

EqualsBuilder synchronizes on HashCodeBuilder
---------------------------------------------

                 Key: LANG-685
                 URL: https://issues.apache.org/jira/browse/LANG-685
             Project: Commons Lang
          Issue Type: Bug
          Components: lang.builder.*
    Affects Versions: Nightly Builds
            Reporter: Christian Semrau
            Priority: Minor


EqualsBuilder synchronizes on HashCodeBuilder.class for updates to its own threadlocal REGISTRY variable. While this should not lead to malfunction, it looks like a copy&paste oversight.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Closed: (LANG-685) EqualsBuilder synchronizes on HashCodeBuilder

Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LANG-685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henri Yandell closed LANG-685.
------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0

Thanks Christian.

svn ci -m "Fixing LANG-685 so that EqualsBuilder synchronizes on itself and not HashCodeBuilder"
Sending        src/main/java/org/apache/commons/lang3/builder/EqualsBuilder.java
Sending        src/site/changes/changes.xml
Sending        src/site/xdoc/upgradeto3_0.xml
Transmitting file data ...
Committed revision 1082042.


> EqualsBuilder synchronizes on HashCodeBuilder
> ---------------------------------------------
>
>                 Key: LANG-685
>                 URL: https://issues.apache.org/jira/browse/LANG-685
>             Project: Commons Lang
>          Issue Type: Bug
>          Components: lang.builder.*
>    Affects Versions: Nightly Builds
>            Reporter: Christian Semrau
>            Priority: Minor
>             Fix For: 3.0
>
>
> EqualsBuilder synchronizes on HashCodeBuilder.class for updates to its own threadlocal REGISTRY variable. While this should not lead to malfunction, it looks like a copy&paste oversight.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira