JDK-6693974 : Unify EventQueue$EventQueueItem and SunToolkit.$EventQueueItem classes
Type:Enhancement
Component:client-libs
Sub-Component:java.awt
Affected Version:7
Priority:P4
Status:Closed
Resolution:Fixed
OS:generic
CPU:generic
Submitted:2008-04-25
Updated:2011-05-17
Resolved:2011-05-17
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
EVALUATION
It's possible to move the EventQueueItem class to sun.awt package. As it's still required in the java.awt package we need to make it public as well as its members.
Moreover, the field named "id" does have a duplicating role for this class because the id value could be asked on the "event" (field) itself.
23-06-2008
EVALUATION
Seem the field named "id" from EventQueue is some kind of cached value as it is obtained from the event field. So it might be reasonable to get rid of it. This is a package-private API.