Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6693974
Votes 0
Synopsis Unify EventQueue$EventQueueItem and SunToolkit.$EventQueueItem classes
Category java:classes_awt
Reported Against
Release Fixed 7(b36)
State 10-Fix Delivered, request for enhancement
Priority: 4-Low
Related Bugs
Submit Date 25-APR-2008
Description
Should refactor EventQueue$EventQueueItem and SunToolkit.$EventQueueItem classes in order to use the same in both places.
Posted Date : 2008-04-25 09:08:47.0
Work Around
N/A
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.
Posted Date : 2008-04-25 09:08:47.0

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.
Posted Date : 2008-06-23 13:22:20.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang