JDK-6974093 : Thread.clone should NOT invoke addUnstarted on started threads
Type:Bug
Component:core-libs
Sub-Component:java.lang
Affected Version:7
Priority:P2
Status:Closed
Resolution:Fixed
OS:generic
CPU:generic
Submitted:2010-08-03
Updated:2011-05-18
Resolved:2011-05-18
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.
Part of the fix for 6926623 incremented the number of unstarted threads in the cloner's thread group. It incorrectly always does this. It should only increment the unstarted thread count if the thread is actually unstarted.
Comments
EVALUATION
Only added the thread if it is unstarted.