On Wed, 5 Aug 2026 11:02:21 GMT, Matthias Baesken <[email protected]> wrote:
> GlobalLock has a return value that indicates errors; this should be handled. > > While looking into this, in Java_sun_awt_windows_WPrinterJob_deviceStartPage > a free call was found that is not placed correctly and can lead to leaks. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). This pull request has now been integrated. Changeset: 2c5e535d Author: Matthias Baesken <[email protected]> URL: https://git.openjdk.org/jdk/commit/2c5e535d02856bc9c4d6f96ff153efafa3af5043 Stats: 180 lines in 6 files changed: 96 ins; 23 del; 61 mod 8389674: Handle return values of GlobalLock Reviewed-by: clanger, prr ------------- PR: https://git.openjdk.org/jdk/pull/32206
