JDK-8073208 : javadoc typo in java.util.concurrent.Executor
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util.concurrent
  • Affected Version: 8u31
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_8
  • CPU: x86
  • Submitted: 2015-02-15
  • Updated: 2016-06-13
  • Resolved: 2016-06-13
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 9
9 b88Fixed
Related Reports
Duplicate :  
Description
FULL PRODUCT VERSION :


A DESCRIPTION OF THE PROBLEM :
In java.util.concurrent.Executor, the code in the phrase:
For example, rather than invoking new Thread(new(RunnableTask())).start() for each of a set of tasks

contains 2 erroneous parentheses & should be:
new Thread(new RunnableTask()).start()



REPRODUCIBILITY :
This bug can be reproduced always.


Comments
Yup. Fix committed to jsr166 CVS and will be propagated to openjdk in a future bulk update
16-02-2015

Link to the document in question: https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Executor.html
16-02-2015