United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6493680 SwingWorker notifications might be out of order.
JDK-6493680 : SwingWorker notifications might be out of order.

Details
Type:
Bug
Submit Date:
2006-11-14
Status:
Closed
Updated Date:
2011-03-08
Project Name:
JDK
Resolved Date:
2011-03-08
Component:
client-libs
OS:
generic
Sub-Component:
javax.swing
CPU:
generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
6
Fixed Versions:

Related Reports
Backport:

Sub Tasks

Description
SwingWorker notifications might be out of order.

After the fix for 6449017 [SwingWorker performance is sluggish] some
of the SwingWorker notifications come by a different route than
before. While the spec does not provide any guarantees about the order
asynchronous notifications are to be handled the usual expectation is
notification which is sent later is to be handled later. After that
fix it is not the case any more. SwingWorker might receive "progress"
property change after done method is invoked for example.

                                    

Comments
EVALUATION

I suggest to publish all the SwingWorker notifications using the new mechanism introduced in the fix for  6449017 [SwingWorker performance is sluggish]. This will guarantee the expected order.
                                     
2006-11-14



Hardware and Software, Engineered to Work Together