RFR: 8355578: [java.net] Use @requires tag instead of exiting based on "os.name" property value
Volkan Yazici
vyazici at openjdk.org
Fri May 2 08:33:33 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.
-------------
Commit messages:
- Replace in-test `os.name` checks with `@requires`
Changes: https://git.openjdk.org/jdk/pull/24997/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24997&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8355578
Stats: 72 lines in 6 files changed: 9 ins; 55 del; 8 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