diff -r 0591e7419c70 -r 5a730fff4d0d jdk/src/share/classes/java/util/ArrayList.java --- a/jdk/src/share/classes/java/util/ArrayList.java Wed Mar 04 13:36:33 2009 +0000 +++ b/jdk/src/share/classes/java/util/ArrayList.java Wed Mar 04 09:26:41 2009 -0800 @@ -179,7 +179,6 @@ modCount++; int oldCapacity = elementData.length; if (minCapacity > oldCapacity) { - Object oldData[] = elementData; int newCapacity = (oldCapacity * 3)/2 + 1; if (newCapacity < minCapacity) newCapacity = minCapacity;