RFR: 8358452: JNI exception pending in Java_sun_awt_screencast_ScreencastHelper_remoteDesktopKeyImpl of screencast_pipewire.c:1214 (ID: 51119)

Alexander Zvegintsev azvegint at openjdk.org
Tue Jun 3 12:16:56 UTC 2025


On Tue, 3 Jun 2025 08:35:40 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> we are not calling any JNI method

We have the `AWT_LOCK()` / `AWT_UNLOCK();` macro expansions with JNI methods being called.

https://github.com/openjdk/jdk/blob/78a392aa3b0cda52cfacfa15250fa61010519424/src/java.desktop/unix/native/common/awt/awt.h#L97-L110

This is exactly what static code analysis tool complains about.

>JNI exception pending in Java_sun_awt_screencast_ScreencastHelper_remoteDesktopKeyImpl of screencast_pipewire.c:1214

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/25605#discussion_r2123634413


More information about the client-libs-dev mailing list