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 14:07:52 UTC 2025


On Tue, 3 Jun 2025 13:36:07 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> Please note the line 108 of the awt.h
>
> But then it should show JNI exception pending for all places where we call AWT_UNLOCK, why only this place?

This is not the only place. Other cases are also covered by checking for pending exceptions or by returning to Java. If not, the code analysis tool may not detect it for some reason.

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

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


More information about the client-libs-dev mailing list