Use the `@requires` tag instead of obtaining the operating system name from the `os.name` property and then exiting if the test is not run on that operating system.
------------- Commit messages: - 8355444: [java.io] Use @requires tag instead of exiting based on os.name property value Changes: https://git.openjdk.org/jdk/pull/24860/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24860&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8355444 Stats: 36 lines in 6 files changed: 11 ins; 19 del; 6 mod Patch: https://git.openjdk.org/jdk/pull/24860.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/24860/head:pull/24860 PR: https://git.openjdk.org/jdk/pull/24860