On Tue, 3 Jun 2025 12:29:42 GMT, Prasanta Sadhukhan <psadhuk...@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 > > But we are calling ExceptionCheck in that macro in l104 so why do we again > need to call? Please note the line 108 of the awt.h ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/25605#discussion_r2123802031