-
Bug
-
Resolution: Fixed
-
P4
-
5.0
-
b19
-
x86
-
windows_xp
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2153335 | OpenJDK6 | Chris Hegarty | P3 | Resolved | Fixed | b01 |
Name: js151677 Date: 10/01/2004
A DESCRIPTION OF THE PROBLEM :
Thread.enumerate() does not discuss what happens if the array that is passed in is smaller than the number of threads being returned. Other details are missing too.
The documentation for Thread.enumerate() should be identical to ThreadGroup.enumerate() which is more complete.
URL OF FAULTY DOCUMENTATION :
http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Thread.html#enumerate(java.lang.Thread[])
(Incident Review ID: 316083)
======================================================================
###@###.### 10/22/04 19:31 GMT
Problems with Thread.activeCount doc are so similar to those of Thread.enumerate that this method's doc is being included in this bug fix.
A DESCRIPTION OF THE PROBLEM :
Thread.enumerate() does not discuss what happens if the array that is passed in is smaller than the number of threads being returned. Other details are missing too.
The documentation for Thread.enumerate() should be identical to ThreadGroup.enumerate() which is more complete.
URL OF FAULTY DOCUMENTATION :
http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Thread.html#enumerate(java.lang.Thread[])
(Incident Review ID: 316083)
======================================================================
###@###.### 10/22/04 19:31 GMT
Problems with Thread.activeCount doc are so similar to those of Thread.enumerate that this method's doc is being included in this bug fix.
- backported by
-
JDK-2153335 (spec thread) Thread.enumerate() and Thread.activeCount() don't match ThreadGroup methods
- Resolved
- relates to
-
JDK-4189292 (thread spec) ThreadGroup and Thread need better and tighter specs
- Closed