> 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).
Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision: Fix issue in awt_PrintJob ------------- Changes: - all: https://git.openjdk.org/jdk/pull/32206/files - new: https://git.openjdk.org/jdk/pull/32206/files/de4fe0fb..f3148e3f Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=32206&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=32206&range=00-01 Stats: 3 lines in 1 file changed: 2 ins; 1 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/32206.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/32206/head:pull/32206 PR: https://git.openjdk.org/jdk/pull/32206
