-
Enhancement
-
Resolution: Fixed
-
P2
-
6u14
-
b05
-
x86
-
windows
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2177766 | 7 | Dmitry Cherepanov | P3 | Closed | Fixed | b64 |
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.
- 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.
- backported by
-
JDK-2177766 Need to remove some AWT class dependencies
-
- Closed
-
- duplicates
-
JDK-2171219 Java applet crashes IE 6 in AwtComponent::ImmAssociateContext()
-
- Closed
-
- relates to
-
JDK-6668385 Java applet crashes IE 6 in AwtComponent::ImmAssociateContext()
-
- Closed
-
-
JDK-6834358 Drag&Drop doesn't work for JTextComponent
-
- Closed
-
-
JDK-6631495 Replace reflection calls to accessor within AWT
-
- Open
-
-
JDK-6798873 Reduce the number of classes loaded and class dependencies
-
- Closed
-
(1 relates to)