RFR: JDK-8024675 - java/net/NetworkInterface/UniqueMacAddressesTest.java fails on Windows

Chris Hegarty chris.hegarty at oracle.com
Fri Sep 13 04:06:12 PDT 2013



On 13/09/2013 11:52, Alan Bateman wrote:
> On 13/09/2013 11:46, Mark Sheppard wrote:
>> Hi
>> please oblige and review the webrev below which addresses the issue
>>
>> problem:
>> https://bugs.openjdk.java.net/browse/JDK-8024675
>>
>> webrev:
>> http://cr.openjdk.java.net/~msheppar/8024675/webrev/
>>
>> The test has been amended to only consider NetworkInterfaces
>> that are active (i.e. isUp() == true) and have a configured MAC address
>> when building the test's NetworkInterface list.
>> Previously, the test list was constructed from interface with a
>> configured MAC address.
>> It was found during testing that some Windows configuration have tunnel
>> adapters configured with the same MAC address. These were found to be
>> inactive.
>> It is assumed that neither can be simultaneously active.
> Skipping the interfaces that aren't "up" seems right so looks okay to
> me. I'm not sure why the .println ended up on its own line, I wonder if
> that should be fixed while you are there.

+1. Otherwise fine.

I can sponsor this change for you Mark.

-Chris.

>
> -Alan



More information about the net-dev mailing list