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

ExecutorService::shutdown() unclear

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: 8, 11, 17
    • Fix Version/s: None
    • Component/s: core-libs

      Description

      A DESCRIPTION OF THE PROBLEM :
      I hope I found the correct category:
      https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/ExecutorService.html#shutdown()

      The docs on shutdown() both states:
       - Initiates an orderly shutdown in which previously submitted tasks are executed.
       - This method does not wait for previously submitted tasks to complete execution.
      To me, this is a contradiction.

      FREQUENCY : always


        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: