mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
8272806: [macOS] "Apple AWT Internal Exception" when input method is changed
Reviewed-by: serb, dmarkov, azvegint
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user