On Sun, 1 May 2022 21:25:27 GMT, Phil Race <p...@openjdk.org> wrote: > This is a theoretical/potential case of calling JNI methods with a possible > execption pending. > As noted in the eval of the bug report, we no longer follow the practice that > AWT_LOCK is > called only at the start of a native method and AWT_UNLOCK at the end, if > indeed we ever did. > But it seems to be implied in how they are handling exceptions.
This pull request has now been integrated. Changeset: c156bcc5 Author: Phil Race <p...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/c156bcc599534ae989bc9cbd001e7c150da8096c Stats: 5 lines in 2 files changed: 4 ins; 1 del; 0 mod 8285399: JNI exception pending in awt_GraphicsEnv.c:1432 Reviewed-by: azvegint, serb ------------- PR: https://git.openjdk.java.net/jdk/pull/8493