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

Prasanta Sadhukhan psadhukhan at openjdk.org
Wed Jun 4 07:04:16 UTC 2025


On Wed, 4 Jun 2025 06:06:06 GMT, Alexander Zvegintsev <azvegint at openjdk.org> wrote:

>> 3 rethrows the exception, maybe tool is complaining about that..maybe we should find out what that exception is and who is throwing?
>> Should we call EXCEPTION_CHECK_DESCRIBE instead to find out what exception it is complaining about by running the tool?
>> 
>> Also, dont we need to do ExceptionClear too in addition to ExcepionCheck to clear out the exception else it will keep it pending?
>
> I don't think so. Let Java catch it.

ok..but checkReturnValue in ScreenCastHelper.java doesnt handle the exception for RESULT_ERROR case so it will be left to application to handle and am not sure if they will expect this internal exception..

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

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


More information about the client-libs-dev mailing list