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

ExecutorService::shutdown() unclear

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not an Issue
    • P4
    • None
    • 8, 11, 17
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: