<AWT Dev> RFR: 8259651: [macOS] Replace JNF_COCOA_ENTER/EXIT macros

Sergey Bylokhov serb at openjdk.java.net
Wed Jan 13 06:40:57 UTC 2021


On Wed, 13 Jan 2021 02:34:37 GMT, Phil Race <prr at openjdk.org> wrote:

> Since the next line throws NSException everything before this change and after this change should cause control to reach the COCOA_EXIT macro.

It does not, the JNI_COCOA_EXIT macro is executed on a different thread than JNI_COCOA_THROW_RUNTIME_EXCEPTION (in both times where this macro is used)

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

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


More information about the awt-dev mailing list