> 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: AwtDropTarget::ConvertMemoryMappedData fix GlobalUnlock call ------------- Changes: - all: https://git.openjdk.org/jdk/pull/32206/files - new: https://git.openjdk.org/jdk/pull/32206/files/48456502..71898385 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=32206&range=05 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=32206&range=04-05 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 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
