Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8133453

Deprecate AWTKeyStroke.registerSubclass(Class) method

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b85

      Backports

        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.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                alexsch Alexandr Scherbatiy
                Reporter:
                alexsch Alexandr Scherbatiy
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: