On Mon, 30 Nov 2020 17:04:57 GMT, Sergey Bylokhov <s...@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.
>
> Do you have a chance to reproduce this crash?

No, but Alex did as he has Catalina and my patch solved his crash.

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

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

Reply via email to