On Thu, 11 Sep 2025 03:13:13 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`.
>
> Damon Nguyen has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Change fix to return NULLs instead.

Marked as reviewed by prr (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/27110#pullrequestreview-3225885947

Reply via email to