RFR: 8362834: Several runtime/Thread tests should mark as /native [v2]

SendaoYan syan at openjdk.org
Mon Jul 21 12:36:40 UTC 2025


> 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.

SendaoYan has updated the pull request incrementally with two additional commits since the last revision:

 - Update copyright year
 - Update copyright year

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/26411/files
  - new: https://git.openjdk.org/jdk/pull/26411/files/bac6b529..0e79128d

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=26411&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=26411&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/26411.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26411/head:pull/26411

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


More information about the hotspot-runtime-dev mailing list