harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ray Chen <clrayc...@gmail.com>
Subject Re: 6.0 Milestone testing -windowsXP-32
Date Sat, 19 Dec 2009 13:27:22 GMT
Hi Tony,

JIRA 6407 has been created for this issue.

On Sat, Dec 19, 2009 at 8:39 PM, Tony Wu <wuyuehao@gmail.com> wrote:
> Hi, Ray
>
> would you pls raise a JIRA, thanks.
>
> On Sat, Dec 19, 2009 at 12:18 AM, Ray Chen <clraychen@gmail.com> wrote:
>> Hi all,
>> I found that NetworkInterface of java6 branch is different from
>> NetworkInterface of trunk.
>>
>> In their constructors, trunk simply assign the addresses to the
>> "addresses" field, but in java6 branch it assign addresses one by one
>> which ignore the situation that passed in addresses may be null.
>>
>> Merge trunk to java6, or add a if(addresses != null) will solve the NPE error.
>>
>> Shall I open a JIRA to track this or some committer just do that ?
>>
>> On Fri, Dec 18, 2009 at 7:21 PM, Ray Chen <clraychen@gmail.com> wrote:
>>> Hi All,
>>>
>>> I run the java6 test on windows platform,  27059 tests ran, and I see
>>> 18 failures and 15 errors
>>> Failures:
>>> *javax.swing.plaf.basic.BasicScrollBarUITest.testGetThumbBounds
>>> expected: 16, actual: 0
>>> javax.swing.text.html.HTMLDocument_Reader_ActionsTest.testHarmony_4615
>>>  null expected:<[line4 line4]> but was:<[ line4 line]>
>>> org.apache.harmony.luni.tests.internal.net.www.protocol.http.HttpURLConnectionTest.testUsingProxy2
>>> should throw ConnectException
>>> org.apache.harmony.luni.tests.java.net.MulticastSocketTest.test_setInterfaceLjava_net_InetAddress
>>>  Exception during test : null
>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getName
>>>  Exception occurred getting network interfaces :
>>> java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getInetAddresses
>>>  Exception occurred getting network interfaces :
>>> java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getDisplayName
>>>   Exception occurred getting network interfaces :
>>> java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getByNameLjava_lang_String
>>>   Exception occurred getting network interfaces :
>>> java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getByInetAddressLjava_net_InetAddress
>>>   Exception occurred getting network interfaces :
>>> java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getNetworkInterfaces
>>>   Exception occurred getting network interfaces :
>>> java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_equalsLjava_lang_Object
>>>   Exception occurred getting network interfaces :
>>> java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_hashCode
>>>   Exception occurred getting network interfaces :
>>> java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_toString
>>>   Exception occurred getting network interfaces :
>>> java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getInterfaceAddresses
>>>   Exception occurred getting network interfaces :
>>> java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_isLoopback
>>>   Exception occurred getting network interfaces :
>>> java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getHardwareAddress
>>>   Exception occurred getting network interfaces :
>>> java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getMTU
>>>   Exception occurred getting network interfaces :
>>> java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.URLConnectionTest.test_getInputStream
>>>        null expected:<[zyxwvuts]> but was:<[]>
>>>
>>> Errors:
>>> javax.swing.text.html.HTMLDocument_Reader_ActionsTest.testHarmony_4582
>>>  java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.io.OutputStreamWriterTest.testHandleEarlyEOFChar_1
>>>   java.nio.BufferOverflowException
>>> org.apache.harmony.luni.tests.java.io.OutputStreamWriterTest.testHandleEarlyEOFChar_2
>>>   java.nio.BufferOverflowException
>>> org.apache.harmony.luni.tests.java.io.WriterTesterTest$FileWriterCharSinkTester:sinkTestWriteLargeArray
>>>   java.nio.BufferOverflowException
>>> org.apache.harmony.luni.tests.java.net.InetAddressTest.test_isReachableLjava_net_NetworkInterfaceII
>>>   java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.InetAddressTest.test_isReachableLjava_net_NetworkInterfaceII_loopbackInterface
>>>   java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_hashCode
>>>   java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_equals_LObject
>>>   java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_toString
>>>   java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_getAddress
>>>   java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_getBroadcast
>>>   java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_getNetworkPrefixLength
>>>   java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.MulticastSocketTest.test_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface
>>>    java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.MulticastSocketTest.test_leaveGroupLjava_net_SocketAddressLjava_net_NetworkInterface
>>>   java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.WinNetworkInterfaceTest.test_isReachableLjava_net_NetworkInterfaceII_loopbackInterface
>>>   java.lang.NullPointerException
>>>
>>>
>>>
>>> I think the test failures of network interface related to JIRA6369
>>> which means there are bugs in our portlib code on windows platform.
>>> And the test case start with"*"  sucess when I ran it standalone.
>>>
>>>
>>> --
>>> Regards,
>>>
>>> Ray Chen
>>>
>>
>>
>>
>> --
>> Regards,
>>
>> Ray Chen
>>
>
>
>
> --
> Tony Wu
> China Software Development Lab, IBM
>



-- 
Regards,

Ray Chen

Mime
View raw message