[cp-patches] FYI: Minor changes to List.java

Tania Bento tbento at redhat.com
Mon Jun 26 18:17:38 UTC 2006


Hey guys,

Based on Harmony's ListTest, a list should have at least 4 visible rows,
it should throw an ArrayIndexOutOfBoundsException (not an
IllegalArgumentExecption) in the replaceItem method and it should not
throw an IllegalArgumentException if the specified index is out of range
in the makeVisible method. 

Cheers,
Tania


2006-06-26  Tania Bento  <tbento at redhat.com>

        * java/awt/List.java
        (List): A list should have at least 4 visible rows.
        (replaceItem): Should throw an ArrayIndexOutOfBoundsException,
        not an IllegalArgumentException.
        (makeVisible): Should not throw an IllegalArgumentException if
        the specified index is out of range.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-patch
Size: 1784 bytes
Desc: not available
Url : http://developer.classpath.org/pipermail/classpath-patches/attachments/20060626/f2fca293/patch.bin


More information about the Classpath-patches mailing list