-
Bug
-
Resolution: Unresolved
-
P4
-
8, 11, 17, 20, 21
-
Cause Known
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.
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.
- links to