RFR: 8296709: WARNING: JNI call made without checking exceptions [v7]

David Holmes dholmes at openjdk.org
Thu Nov 17 01:58:27 UTC 2022


On Wed, 16 Nov 2022 12:00:56 GMT, Lutz Schmidt <lucy at openjdk.org> wrote:

>> This small change fixes a warning that may pop up during runtime. May I please request reviews? Thank you!
>
> Lutz Schmidt has updated the pull request incrementally with two additional commits since the last revision:
> 
>  - 8296709: Copyright, descriptive text, @compile directive removed
>  - 8296709: Fix test run spec, exclude jdwp agent case

test/jdk/tools/launcher/TestXcheckJNIWarnings.java line 42:

> 40:  * @modules jdk.compiler
> 41:  *          jdk.zipfs
> 42:  * @run main TestXcheckJNIWarnings -agentlib:jdwp=transport=dt_socket,server=y,suspend=n

This needed to be `main/othervm`. Not even sure how this can work unless in othervm mode!

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

PR: https://git.openjdk.org/jdk/pull/11083


More information about the serviceability-dev mailing list