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

Alexander Zvegintsev azvegint at openjdk.org
Wed Jun 4 13:26:50 UTC 2025


On Wed, 4 Jun 2025 08:40:59 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> It is still unclear why an exception is reported just in this line and others like mention below, can we narrow down what exact line in the code/macro caused that?

It is `AWT_UNLOCK();` and `Throw` in it, but it just rethrows earlier pending exception.

It seems to be a false positive because neither `AWT_LOCK` nor `awt_getX11KeySym` leaves any pending exceptions.

https://github.com/openjdk/jdk/pull/25605#discussion_r2125687104

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

PR Comment: https://git.openjdk.org/jdk/pull/25605#issuecomment-2940032504


More information about the client-libs-dev mailing list