Integrated: 8355578: [java.net] Use @requires tag instead of exiting based on "os.name" property value

Volkan Yazici vyazici at openjdk.org
Wed May 7 12:10:21 UTC 2025


On Fri, 2 May 2025 08:26:48 GMT, Volkan Yazici <vyazici at openjdk.org> wrote:

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

This pull request has now been integrated.

Changeset: 60a4594b
Author:    Volkan Yazici <vyazici at openjdk.org>
Committer: Daniel Fuchs <dfuchs at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/60a4594b9f9acd82ef3ff22fc6a2df238dd981b9
Stats:     74 lines in 6 files changed: 11 ins; 55 del; 8 mod

8355578: [java.net] Use @requires tag instead of exiting based on "os.name" property value

Reviewed-by: dfuchs

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

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


More information about the net-dev mailing list