Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8177399

"rejected execution handler" parameter description misplaced in ThreadPoolExecutor constructor

XMLWordPrintable

      A DESCRIPTION OF THE PROBLEM :
      In section 'Constructor Summary', the description for the constructor methods should be revisited as there are mismatches. Example, there is no 'execution handler' for the first constructor method. But, the description has that. Find below (copy-pasted).

      [
      ThreadPoolExecutor(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit, BlockingQueue<Runnable> workQueue)
      Creates a new ThreadPoolExecutor with the given initial parameters and default thread factory and rejected execution handler.
      ]

      Pardon me, if my observation is wrong. And, I am quite not sure about build/release details. That's why I just given the URL.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Cosmetic changes required.
      ACTUAL -
      Kindly refer the below URL:
      https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ThreadPoolExecutor.html

      URL OF FAULTY DOCUMENTATION :
      https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ThreadPoolExecutor.html

            martin Martin Buchholz
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: