Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
P3
-
Resolution: Fixed
-
Affects Version/s: 9
-
Fix Version/s: 9
-
Component/s: client-libs
-
Labels:
-
Subcomponent:
-
Resolved In Build:b85
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8142137 | emb-9 | Alexandr Scherbatiy | P3 | Resolved | Fixed | team |
Description
The AWTKeyStroke.registerSubclass(Class) method was proposed when javax.swing.KeyStroke class was copied to java.awt.AWTKeystoke and it was necessary to create KeyStroke class which has private constructor.
AWTKeyStroke class is intended to contain keyChar, keyCode, modifiers, and keyRelease flag and it seems there are no reasons that this class can be subclassed.
The suggestion is to remove or deprecate the AWTKeyStroke.registerSubclass(Class) method.
AWTKeyStroke class is intended to contain keyChar, keyCode, modifiers, and keyRelease flag and it seems there are no reasons that this class can be subclassed.
The suggestion is to remove or deprecate the AWTKeyStroke.registerSubclass(Class) method.
Attachments
Issue Links
- backported by
-
JDK-8142137 Deprecate AWTKeyStroke.registerSubclass(Class) method
-
- Resolved
-
- relates to
-
JDK-4426313 Remove awt_KeyStroke.c
-
- Resolved
-
-
JDK-8157055 consider unified release notes for deprecated APIs
-
- Closed
-