SwingWorker loses notifications if a handler throws an exception

XMLWordPrintable

      If a PropertyChangeListener or done() method throw an exception, all the accumulated notifications are lost.

      Consider the following scenario: SwingWorker has a PropertyChangeListener and overrides the done method, its doInBackground method quickly returns the result.

      The expected order is:
      1. propertyChange("STARTED state")
      2. done() method called
      3. propertyChange("DONE state")

      If the handler for STARTED state throws an exception, neither done() method is called nor DONE state notification is delivered.

            Assignee:
            Alexey Ivanov
            Reporter:
            Alexey Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: