RFR: 8285671: java/nio/channels/etc/PrintSupportedOptions.java and java/nio/channels/DatagramChannel/AfterDisconnect.java are failing [v2]

Michael McMahon michaelm at openjdk.java.net
Wed Apr 27 14:57:35 UTC 2022


On Wed, 27 Apr 2022 14:12:40 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

>> Michael McMahon has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   updated test
>
> test/jdk/jdk/net/ExtendedSocketOption/DontFragmentTest.java line 44:
> 
>> 42: 
>> 43:     public static void main(String[] args) throws IOException {
>> 44:         isMacos = System.getProperty("os.name").equals("Mac OS X");
> 
> I believe there's a test library class that does that. I never remember what the os.name is supposed to look like.

Okay. It's `Platform.isOSX()`

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

PR: https://git.openjdk.java.net/jdk/pull/8419


More information about the net-dev mailing list