RFR: 8345422: Fix JNI Checker "in native method" warnings in the debug agent and debugger tests
Chris Plummer
cjplummer at openjdk.org
Wed Dec 4 05:59:38 UTC 2024
On Wed, 4 Dec 2024 05:38:14 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> That might be nice, but we don't do it in other places where we have this pattern. This call should never fail, thus the "fatal error" approach.
>
> Sure but when it does fail because of a bug the person trying to debug it will lament the fact they don't know what exception was encountered. Seems a little helper function could do the above and call `ExceptionDescribe`. Future RFE I guess.
I was thinking the same. I'll file an RFE.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/22528#discussion_r1868763345
More information about the serviceability-dev
mailing list