harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paulex Yang (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-1004) [classlib][nio] Remove two magic numbers from o.a.h.tests.java.nio.channels.DatagramChannelTest
Date Tue, 01 Aug 2006 02:55:15 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1004?page=all ]

Paulex Yang resolved HARMONY-1004.
----------------------------------

    Resolution: Fixed

Andrew, patch applied at revision r427413, thanks a lot for this enhancement, please verify
that the problem is fully fixed as you expected.


> [classlib][nio] Remove two magic numbers from o.a.h.tests.java.nio.channels.DatagramChannelTest
> -----------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1004
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1004
>             Project: Harmony
>          Issue Type: Test
>          Components: Classlib
>            Reporter: Andrew Zhang
>         Assigned To: Paulex Yang
>         Attachments: nio.diff
>
>
> Private methods assertSocketActionBeforeConnect(DatagramSocket s) and assertSocketActionAfterConnect(DatagramSocket
s) contain magic number , which may cause test fail because of port confliction. i.e. 
> "this.datagramSocket2 = new DatagramSocket(1082);"
> Addtionally, these magic numbers are not necessary at all.  
> I'll upload to fix this problem soon.
> Thanks!
> Best regards,
> Andrew

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message