<AWT Dev> RFR: 8248532: Every time I change keyboard language at my MacBook, Java crashes
prr at openjdk.java.net
Wed Sep 9 13:14:48 UTC 2020
On Wed, 9 Sep 2020 12:31:50 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
>> The problem of crash is about not having proper observer. As per
>> NSNotificationCenter delivers notifications to observers synchronously whereas NSDistributedNotificationCenter
>> notification is usually delivered to the main thread’s run loop, thus not depending on observer setup. Both will work
>> but since we use NSNotificationCenter in mac so far, it seems prudent to use the same methodology for this case too, so
>> I have rectified the observer setup.
> Hi Phil,
> Is there any more feedback on this PR? If not, can you please approve.
You still have not resolved my confusion. Please read your own evaluation in the bug report which says you
will use NSDistributedNotificationCenter.
Is the evaluation wrong ?
More information about the awt-dev