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

SwingWorker's shutdownHook needs to call executorService.awaitTermination

XMLWordPrintable

      by ###@###.###:
      I believe the fix is incomplete. The shutdown hook only
      calls ExecutorService#shutdown but it also needs to call
      #awaitTermination. #shutdown does not block. I've seen this
      happen several times, the #shutdown method's naming is
      unfortunate.

            Unassigned Unassigned
            idk Igor Kushnirskiy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: