RFR: 8282862: AwtWindow::SetIconData leaks old icon handles if an exception is detected [v6]
Alexey Ivanov
aivanov at openjdk.org
Mon Jan 20 16:28:38 UTC 2025
On Mon, 20 Jan 2025 15:56:09 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:
> The call to `CreateIconFromRaster` has to be wrapped into a try-catch block to ensure the C++ exception does not escape.
>
> I think it's reasonable to address this new issue under a new bugid.
I submitted [JDK-8282862](https://bugs.openjdk.org/browse/JDK-8348106): _Catch C++ exception in Java_sun_awt_windows_WTaskbarPeer_setOverlayIcon_.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/22932#issuecomment-2602837621
More information about the client-libs-dev
mailing list