Committed revision 893709. Thanks Regis! On Thu, Dec 24, 2009 at 4:37 PM, regis xu <[email protected]> wrote: > On Thu, Dec 24, 2009 at 4:33 PM, Tony Wu <[email protected]> wrote: > >> Hi, >> >> This patch fixes 20+ NPE failures/errors happened when you have a >> wireless card w/o any address. such as >> >> test_isReachableLjava_net_NetworkInterfaceII Error N/A >> >> java.lang.NullPointerException >> at java.net.NetworkInterface.(NetworkInterface.java:92) >> at >> java.net.NetworkInterface.getNetworkInterfacesImpl(NetworkInterface.java) >> at >> java.net.NetworkInterface.getNetworkInterfaces(NetworkInterface.java:308) >> at >> org.apache.harmony.luni.tests.java.net.InetAddressTest.test_isReachableLjava_net_NetworkInterfaceII(InetAddressTest.java:639) >> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java) >> >> >> after appling this patch, I got only 2 errors in luni on windows. >> >> -- >> Tony Wu >> China Software Development Lab, IBM >> > > +1 > > -- > Best Regards, > Regis. >
-- Tony Wu China Software Development Lab, IBM
