RFR: 8359207: Remove redundant runtime/signal/TestSigusr2.java

Daniel D. Daugherty dcubed at openjdk.org
Mon Jun 16 21:38:27 UTC 2025


On Mon, 16 Jun 2025 09:56:47 GMT, SendaoYan <syan at openjdk.org> wrote:

> Hi all,
> 
> The test `runtime/signal/TestSigusr2.java` has jtreg tag `@requires os.family != "windows" & os.family != "aix"`, and this test will skip on linux or macos(https://github.com/openjdk/jdk/blob/master/test/hotspot/jtreg/runtime/signal/SigTestDriver.java#L59). Thus this test is always skipped indeed. So I want to removed this test. Test-fix only, no rsik.

Thumbs up on the code changes.

"redundant" implies that the functionality is tested elsewhere. I have changed the bug's synopsis from:

    Remove redundant runtime/signal/TestSigusr2.java

to:

    Remove runtime/signal/TestSigusr2.java since it is always skipped

which I think is more accurate.

I wonder if `SIGUSR2` was only useful on Solaris.

Please use "/issue JDK-8359207" as the easiest way to sync the PR title with the synopsis.

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

Marked as reviewed by dcubed (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/25825#pullrequestreview-2933584282
PR Comment: https://git.openjdk.org/jdk/pull/25825#issuecomment-2978224302
PR Comment: https://git.openjdk.org/jdk/pull/25825#issuecomment-2978226019


More information about the hotspot-runtime-dev mailing list