On Fri, 18 Jul 2025 08:46:59 GMT, SendaoYan <s...@openjdk.org> wrote:
> Hi all, > > Test serviceability/HeapDump/UnmountedVThreadNativeMethodAtTop.java call > native libary 'UnmountedVThreadNativeMethodAtTop' with System.loadLibrary. If > run this test without jtreg option '-nativepath', jtreg will report 'JUnit > test failure'. After this PR, we add jtreg directive `/native` to test > header, run this test without jtreg option '-nativepath', jtreg will report > 'Error. Use -nativepath to specify the location of native code'. So add > `/native` directive will make this test more friendly. > > Change has been verified locally, test-fix only, no risk. This pull request has now been integrated. Changeset: ee0bcc55 Author: SendaoYan <s...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/ee0bcc55269e92e999862ae5c63ffad7a600f6cc Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod 8362379: Test serviceability/HeapDump/UnmountedVThreadNativeMethodAtTop.java should mark as /native Reviewed-by: sspitsyn, cjplummer ------------- PR: https://git.openjdk.org/jdk/pull/26384