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

Lutz Schmidt lucy at openjdk.org
Mon Nov 14 11:11:28 UTC 2022


On Sun, 13 Nov 2022 23:51:28 GMT, David Holmes <dholmes at openjdk.org> wrote:

> Couldn't you simply add a second `doExec` statement in the existing test rather than copy the entire test file?

Actually, I first did it that way. And I did not like it. It's not just the doExec, you need to duplicate the checks as well. So far, it's just personal preference. 

The test case with active jdwp agent produces two warnings, but I have a fix for only one of the warnings. @RealCLanger suggested to create a bug for the unresolved warning and problem-list the test case until the bug is fixed. If this is the way to go, I need a separate test file.

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

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


More information about the serviceability-dev mailing list