> 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: Move XFree. Revert spacing. ------------- Changes: - all: https://git.openjdk.org/jdk/pull/27110/files - new: https://git.openjdk.org/jdk/pull/27110/files/5b00dc81..0d7c644e Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=27110&range=02 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=27110&range=01-02 Stats: 3 lines in 1 file changed: 1 ins; 1 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/27110.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/27110/head:pull/27110 PR: https://git.openjdk.org/jdk/pull/27110
