Integrated: 8362834: Several runtime/Thread tests should mark as /native

SendaoYan syan at openjdk.org
Tue Jul 22 01:08:31 UTC 2025


On Mon, 21 Jul 2025 09:45:53 GMT, SendaoYan <syan at openjdk.org> wrote:

> Hi all,
> 
> Some of the runtime/Thread tests ready mark as /native:
> runtime/Thread/SuspendAtExit.java
> runtime/Thread/StopAtExit.java
> 
> But there are some of the runtime/Thread tests needed to mark as /native:
> runtime/Thread/AsyncExceptionTest.java
> runtime/Thread/AsyncExceptionOnMonitorEnter.java
> runtime/Thread/TestBreakSignalThreadDump.java#with_jsig
> runtime/Thread/TestBreakSignalThreadDump.java#default
> 
> Without -nativepath jtreg option, the test will report test failure, such as: "Execution failed: `main' threw exception: java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [1]", after this PR without -nativepath jtreg option, the test will report "Error. Use -nativepath to specify the location of native code", this will make test usage more friendly.
> 
> Change has been verified locally, test-fix only, no risk.

This pull request has now been integrated.

Changeset: 699b8112
Author:    SendaoYan <syan at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/699b8112f8da7ceef2aa2a3ddb326aee88b29f8c
Stats:     7 lines in 3 files changed: 1 ins; 0 del; 6 mod

8362834: Several runtime/Thread tests should mark as /native

Reviewed-by: dholmes

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

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


More information about the hotspot-runtime-dev mailing list