Skip to content
Permalink
Browse files
8272806: [macOS] "Apple AWT Internal Exception" when input method is …
…changed

Reviewed-by: serb, dmarkov, azvegint
  • Loading branch information
prrace committed Aug 24, 2021
1 parent 6e0328f commit f681d6544ac2506cb72e45c1f9ed8dfbbde099f2
Showing 2 changed files with 2 additions and 3 deletions.
@@ -115,9 +115,7 @@ + (void) _nativeNotifyPeerWithView:(AWTView *)view inputMethod:(jobject) inputMe
AWT_ASSERT_APPKIT_THREAD;

if (!view) return;
if (!inputMethod) return;

[view setInputMethod:inputMethod]; // inputMethod is a GlobalRef
[view setInputMethod:inputMethod]; // inputMethod is a GlobalRef or null to disable.
}

+ (void) _nativeEndComposition:(AWTView *)view {
@@ -259,6 +259,7 @@ BOOL isSWTInWebStart(JNIEnv* env) {

static void AWT_NSUncaughtExceptionHandler(NSException *exception) {
NSLog(@"Apple AWT Internal Exception: %@", [exception description]);
NSLog(@"trace: %@", [exception callStackSymbols]);
}

@interface AWTStarter : NSObject

3 comments on commit f681d65

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on f681d65 Aug 24, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@TheRealMDoerr
Copy link
Contributor

@TheRealMDoerr TheRealMDoerr commented on f681d65 Sep 14, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/backport jdk11u-dev

@openjdk
Copy link

@openjdk openjdk bot commented on f681d65 Sep 14, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@TheRealMDoerr the backport was successfully created on the branch TheRealMDoerr-backport-f681d654 in my personal fork of openjdk/jdk11u-dev. To create a pull request with this backport targeting openjdk/jdk11u-dev:master, just click the following link:

➡️ Create pull request

The title of the pull request is automatically filled in correctly and below you find a suggestion for the pull request body:

Hi all,

this pull request contains a backport of commit f681d654 from the openjdk/jdk repository.

The commit being backported was authored by Phil Race on 24 Aug 2021 and was reviewed by Sergey Bylokhov, Dmitry Markov and Alexander Zvegintsev.

Thanks!

If you need to update the source branch of the pull then run the following commands in a local clone of your personal fork of openjdk/jdk11u-dev:

$ git fetch https://github.com/openjdk-bots/jdk11u-dev TheRealMDoerr-backport-f681d654:TheRealMDoerr-backport-f681d654
$ git checkout TheRealMDoerr-backport-f681d654
# make changes
$ git add paths/to/changed/files
$ git commit --message 'Describe additional changes made'
$ git push https://github.com/openjdk-bots/jdk11u-dev TheRealMDoerr-backport-f681d654

Please sign in to comment.