Project: JDT
Bug 333654 AIOOBE in IdentityHashSet.getInsertionIndex(*)
Reported: 2011-01-06 09:12:23 | Status: resolved fixed

On of the test teams reported intermittent failures from ArrayIndexOutOfBoundsExceptions on 64 bit JVMs in org.eclipse.jdt.ui.leaktest.reftracker.IdentityHashSet.getInsertionIndex(Object, Object[]). It seems System.identityHashCode(*) is returning an extremely large number, which results in the modulo being negative. It should probably be protected against numbers larger than 0x7FFFFFFF PW

Files changed in fix:
org.eclipse.jdt.ui.tests/leaks/org/eclipse/jdt/ui/leaktest/reftracker/IdentityHashSet.java