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: 6824169
Votes 0
Synopsis Need to remove some AWT class dependencies
Category java:classes_awt
Reported Against
Release Fixed 6u14(b05), 7(b64) (Bug ID:2177766)
State 10-Fix Delivered, request for enhancement
Priority: 2-High
Related Bugs 6631495 , 6668385 , 2171219 , 6798873 , 6834358
Submit Date 31-MAR-2009
Description
There are some dependencies on some AWT classes that may impact on the startup performance. The list below explains some of the dependencies:

- the usages of the reflection API to access the private fields/methods

The usages may cause to load of some unexpected AWT classes. For example, the PopupMenu class (and some other classes) is a part of the method signatures of the Component class and the classes are loaded during the reflection API calls. For more information, please refer to the CR 6823296 (Class.getDeclaredMethod, getMethod, getDeclaredField, getField cause many classes to be loaded).

- the usages of the instanceof operator

The usages may cause to load of some unexpected AWT classes as well. For example, the GDIWindowSurfaceData class have some optional dependencies on the WFileDialogPeer, WPrintDialogPeer classes.
Posted Date : 2009-03-31 10:44:13.0
Work Around
N/A
Evaluation
Need to be fixed.
Posted Date : 2009-04-09 08:57:03.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang