On Wed, 28 Aug 2024 16:43:49 GMT, Kevin Rushforth <k...@openjdk.org> wrote:

>> Prasanta Sadhukhan has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   Reattach thread if AWT is the owner of NSApplication
>
> src/java.desktop/macosx/native/libawt_lwawt/awt/ApplicationDelegate.m line 
> 128:
> 
>> 126:         [ThreadUtilities setApplicationOwner:NO];
>> 127:         return nil;
>> 128:     }
> 
> If you flip the default, then you need to set it to YES here:
> 
> 
>     [ThreadUtilities setApplicationOwner:YES];
> 
> 
> (this might be best anyway, since then you will always set the flag)

Do we want to use cached version for this case? 
`[NSApp isMemberOfClass:[NSApplication class]] && overrideDelegate`

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20688#discussion_r1737232505

Reply via email to