commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pascal Schumacher (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (LANG-1356) Add bypass option for classes to recursive and reflective EqualsBuilder
Date Sun, 11 Feb 2018 19:44:01 GMT

     [ https://issues.apache.org/jira/browse/LANG-1356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Pascal Schumacher resolved LANG-1356.
-------------------------------------
       Resolution: Fixed
         Assignee: Pascal Schumacher
    Fix Version/s: 3.8

Patch applied. Thanks!

> Add bypass option for classes to recursive and reflective EqualsBuilder
> -----------------------------------------------------------------------
>
>                 Key: LANG-1356
>                 URL: https://issues.apache.org/jira/browse/LANG-1356
>             Project: Commons Lang
>          Issue Type: Improvement
>          Components: lang.reflect.*
>            Reporter: Pascal Schumacher
>            Assignee: Pascal Schumacher
>            Priority: Major
>             Fix For: 3.8
>
>         Attachments: LANG-1356.patch
>
>
> {quote}String are now compared with internal data (hash and char[]). But sometimes hash
value is not initialized, this is probably a cache for the hashcode. So the comparison fails
even if the char[] content is the same.
> You should add the bypass for basic JRE classes (String, Datetime types, etc.){quote}
> reported at https://github.com/apache/commons-lang/pull/202#issuecomment-333874925



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message