CVSROOT: /sources/classpath
Module name: classpath
Changes by: Pekka Enberg <penberg> 11/02/22 16:10:18
Modified files:
java/util : HashMap.java
. : ChangeLog
Log message:
Fix HashMap.put() to check for hashCode equality before equals()
This patch is needed to run Jython 2.5.2 RC 4 under JamVM and GNU
Classpath CVS
HEAD. It turns out Jythin bootstrap is bit hairy and assumes
HashMap.put()
checks for hashCode equality before invoking Object.equals().
2011-02-22 Pekka Enberg <[email protected]>
* java/util/HashMap:
(put): Check for key hashCode equality before invoking
Object.equals() to fix compatibility issue with Jython.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/java/util/HashMap.java?cvsroot=classpath&r1=1.36&r2=1.37
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.9817&r2=1.9818