On Mon, 30 Nov 2020 13:23:35 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> 
wrote:

> It seems the patch for https://bugs.openjdk.java.net/browse/JDK-8248532 
> causes a crash, as it attempts to call a method selector on a class for an 
> instance method (- keyboardInputSourceChanged). It was not observed in 10.14 
> but seen in 10.15 or later.
> It resulted in crash as we are passing [AWTView class] as an instance to the 
> notification observer but notification function keyboardInputSourceChanged is 
> not a member function.
> Modified the code to make that function a class-level function so that it 
> does not crash.
> mucommander.app, JDK-8214578 testcase worked with this change.

This pull request has now been integrated.

Changeset: 822ee474
Author:    Prasanta Sadhukhan <psadhuk...@openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/822ee474
Stats:     8 lines in 2 files changed: 3 ins; 3 del; 2 mod

8257242: [macOS] Java app crashes while switching input methods

Reviewed-by: serb

-------------

PR: https://git.openjdk.java.net/jdk/pull/1517

Reply via email to