RFR: 8355578: [java.net] Use @requires tag instead of exiting based on "os.name" property value [v2]
Volkan Yazici
vyazici at openjdk.org
Fri May 2 09:15:24 UTC 2025
> Replaces `os.name` checks in tests with `@requires`. This prevents these tests from being run, and superficial results being generated, on unnecessary platforms.
>
> Note that `os.name` checks are replaced with `os.family` instead.
Volkan Yazici has updated the pull request incrementally with one additional commit since the last revision:
Document `@requires` rationale with `@comment`
Co-authored-by: Daniel Fuchs <67001856+dfuch at users.noreply.github.com>
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/24997/files
- new: https://git.openjdk.org/jdk/pull/24997/files/f468738c..242f0787
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=24997&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=24997&range=00-01
Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/24997.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/24997/head:pull/24997
PR: https://git.openjdk.org/jdk/pull/24997
More information about the net-dev
mailing list