(put): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45077
138bc75d-0d04-0410-961f-
82ee72b054a4
+2001-08-21 Jeff Sturm <jsturm@one-point.com>
+
+ * java/util/IdentityHashMap.java (get): Fix off-by-one error.
+ (put): Likewise.
+
2001-08-20 Tom Tromey <tromey@redhat.com>
* java/awt/GridBagConstraints.java: Removed comment.
if (table[h] == emptyslot)
return null;
h += 2;
- if (h > table.length)
+ if (h >= table.length)
h = 0;
if (h == save)
return null;
break;
}
h += 2;
- if (h > table.length)
+ if (h >= table.length)
h = 0;
if (h == save)
break;