-
Type:
Bug
-
Resolution: Cannot Reproduce
-
Priority:
P3
-
Affects Version/s: 6
-
Component/s: core-libs
-
generic
-
generic
The exception specification for IndexOutOfBoundsException for List.get should
*not* allow an index >= size(), while the spec for List.add() should not allow
index > size(), but in fact the bounds in the javadoc are identical.
In both cases, the implementation is correct. The spec should be changed
to agree with the code.
###@###.### 2005-05-15 23:57:09 GMT
*not* allow an index >= size(), while the spec for List.add() should not allow
index > size(), but in fact the bounds in the javadoc are identical.
In both cases, the implementation is correct. The spec should be changed
to agree with the code.
###@###.### 2005-05-15 23:57:09 GMT