FULL PRODUCT VERSION :
ADDITIONAL OS VERSION INFORMATION :
not necessary
A DESCRIPTION OF THE PROBLEM :
The description of the toArray(K[]) method begins thus:
<T> T[] toArray(T[] a)
Returns an array containing all of the elements in this collection; the runtime type of the returned array is that of the specified array. If the collection fits in the specified array, it is returned therein. Otherwise, a new array is allocated with the runtime type of the specified array and the size of this collection.
If this collection fits in the specified array with room to spare (i.e., the array has more elements than this collection), the element in the array immediately following the end of the collection is set to null. This is useful in determining the length of this collection only if the caller knows that this collection does not contain any null elements.)
The last parenthesis should be removed.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
see http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html#toArray(T[])
REPRODUCIBILITY :
This bug can be reproduced always.
###@###.### 2005-06-10 12:05:44 GMT