On Fri, 5 Sep 2025 01:43:30 GMT, Damon Nguyen <[email protected]> wrote:
> In the scenario where AWT's UNLOCK API encounters a pendingException, the env > pointer throws the pendingException (as seen in `awt.h`). However, in > `Java_sun_awt_X11GraphicsDevice_pGetBounds`, after `AWT_UNLOCK`, the bounds > var is set. The exception check does not occur until after the bounds is set, > so the bounds may be set to an undesired value. This fix adds another > exception check to look for this pendingException after `AWT_UNLOCK`. This pull request has now been integrated. Changeset: 9f7b9887 Author: Damon Nguyen <[email protected]> URL: https://git.openjdk.org/jdk/commit/9f7b9887cb0950bc24aa7a43b43aa5666cb405a4 Stats: 4 lines in 1 file changed: 4 ins; 0 del; 0 mod 8366149: JNI exception pending in Java_sun_awt_X11GraphicsDevice_pGetBounds of awt_GraphicsEnv.c:1484 Reviewed-by: aivanov, prr ------------- PR: https://git.openjdk.org/jdk/pull/27110
