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.

To download the current JDK release, click here.
Other JDK 6 JDK 7 Other
1.3.1_29,OpenJDK6Resolved 6u22Fixed 7 b118Fixed OpenJDK6Fixed
Description
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.
03-08-2010