RFR: 8359127: Amend java/nio/channels/DatagramChannel/PromiscuousIPv6.java to use @requires for OS platform selection
Mahendra Chhipa
mchhipa at openjdk.org
Fri Jun 13 12:51:40 UTC 2025
On Thu, 12 Jun 2025 11:55:35 GMT, Dermot Boyle <duke at openjdk.org> wrote:
> Replaced programmatic check for the OS platform (which threw a Skipped exception) with JTreg @requires.
test/jdk/java/nio/channels/DatagramChannel/PromiscuousIPv6.java line 215:
> 213: boolean hasIPV6MulticastAll;
> 214:
> 215: if (!supportedByPlatform()) {
supportedByPlatform() method definition can be deleted from line number 207, as not it is not being called anywhere.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25781#discussion_r2145024909
More information about the nio-dev
mailing list