JDK-6271387 : (coll spec) toArray method javadocs are inaccurate
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util:collections
  • Affected Version: 5.0,6
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic,windows_xp
  • CPU: generic,x86
  • Submitted: 2005-05-17
  • Updated: 2012-10-08
  • Resolved: 2005-09-04
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6 b51Fixed
Related Reports
Duplicate :  
Description
The various toArray() and toArray(T[]) methods in the collection classes
have javadoc in need of improvement:

- many do not specify the unchecked ArrayStoreException and NullPointerException
- many inherit inappropriate javadoc from AbstractList or elsewhere.
###@###.### 2005-05-17 03:31:30 GMT

Comments
EVALUATION Will be fixed as part of the jsr166x project. ###@###.### 2005-05-17 03:31:30 GMT
17-05-2005