On Mon, 15 Feb 2021 06:00:29 GMT, Chris Plummer <[email protected]> wrote:
> Delete some localrefs to avoid -Xcheck:jni warnings. See CR for details.
test/hotspot/jtreg/serviceability/sa/ClhsdbLauncher.java line 149:
> 147: // Make sure no -Xcheck:jni failures. WARNING: JNI local refs
> 148: oa.shouldNotMatch("^WARNING: JNI local refs:.*$");
> 149: oa.shouldNotMatch("^WARNING in native method:.*$");
It's not clear to me why this matcher is being done without any tests using
`-Xcheck:jni`. Is this intentional?
-------------
PR: https://git.openjdk.java.net/jdk/pull/2568