RFR: 8362834: Several runtime/Thread tests should mark as /native [v2]
David Holmes
dholmes at openjdk.org
Mon Jul 21 21:18:27 UTC 2025
On Mon, 21 Jul 2025 12:36:40 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.
>
> SendaoYan has updated the pull request incrementally with two additional commits since the last revision:
>
> - Update copyright year
> - Update copyright year
Marked as reviewed by dholmes (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/26411#pullrequestreview-3039880230
More information about the hotspot-runtime-dev
mailing list