RFR: 8190329: [macos] Swing InterOp Platform.exit() crash [v3]
Prasanta Sadhukhan
psadhukhan at openjdk.org
Thu Aug 29 06:24:49 UTC 2024
> The testcase calls Platform.exit before the dialog is made visible but
> on macOS, JavaFX takes over the AppKit thread and uses that as the FX application thread. As part of the FX platform shutdown process, it detaches that thread from the JVM. This means that the AppKit thread is no longer available to Java processes
> so AWT crashes when it ties to access appkit thread.
> Fix is made to check if the thread has been detached for move-resize notification event before proceeding..
Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:
Flip default owner flag
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/20688/files
- new: https://git.openjdk.org/jdk/pull/20688/files/effb3f09..acbabc91
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=20688&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=20688&range=01-02
Stats: 5 lines in 3 files changed: 1 ins; 0 del; 4 mod
Patch: https://git.openjdk.org/jdk/pull/20688.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/20688/head:pull/20688
PR: https://git.openjdk.org/jdk/pull/20688
More information about the client-libs-dev
mailing list