Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
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.)
reported at https://github.com/apache/commons-lang/pull/202#issuecomment-333874925