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

[macOS] "Apple AWT Internal Exception" when input method is changed

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Version:
      17
    • Resolved In Build:
      b07
    • OS:
      os_x

      Backports

        Description

        The message "Apple AWT Internal Exception: Java Exception"
        is printed to the console in some cases when input methods are switched.
        To reproduce this first install an alternate input source (eg Simplified Chinese Pinyin)
        To do this on macOS 11
        1) Open the System Settings application.
        2) Select "Keyboard Preferences .. "
        3) Select the "Input Sources" tab
        4) Click "+" and choose "Chinese Simplied, Pinyin"

        This will now be an option on the top menu bar.
        Leave the System in default (eg US) mode for now.

        Now
        1) use JDK 17 to run SwingSet2.jar (or any other Swing app that has a text component that accepts focus) and
        2) click in the text component to give it focus.
        3) click in the terminal window from which you started the app so the Java app and component loses focus
        4) Select the Pinyin input method
        5) Click back in the Swing text field

        The exception message should now be printed.




          Attachments

            Issue Links

              Activity

                People

                Assignee:
                prr Philip Race
                Reporter:
                prr Philip Race
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: