8272806: [macOS] "Apple AWT Internal Exception" when input method is changed
Reviewed-by: serb, dmarkov, azvegint
This commit is contained in:
parent
6e0328f582
commit
f681d6544a
@ -115,9 +115,7 @@ static void initializeInputMethodController() {
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user