RFR: 8190329: [macos] Swing InterOp Platform.exit() crash [v2]
Prasanta Sadhukhan
psadhukhan at openjdk.org
Thu Aug 29 06:24:50 UTC 2024
On Wed, 28 Aug 2024 16:42:57 GMT, Kevin Rushforth <kcr at 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/libosxapp/ThreadUtilities.m line 34:
>
>> 32: // The following must be named "jvm", as there are extern references to it in AWT
>> 33: JavaVM *jvm = NULL;
>> 34: static BOOL isNSApplicationOwner = YES;
>
> One possible suggestion would be to flip the default to `NO`, so as not to cache the env until we know we are the owner.
Flipped the default to NO..
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/20688#discussion_r1735632039
More information about the client-libs-dev
mailing list