JDK 25 |
---|
25 b12Fixed |
Relates :
|
The JNI method Java_sun_awt_windows_WTaskbarPeer_setOverlayIcon calls CreateIconFromRaster that can throw a C++ exception. The C++ exception must be caught and must not be allowed to escape the JNI method. The call to CreateIconFromRaster has to wrapped into a try-catch block. Found this problem in code review [1] for JDK-8282862. [1] https://github.com/openjdk/jdk/pull/22932#issuecomment-2602772897
|