You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Tim Ellison (JIRA)" <ji...@apache.org> on 2007/02/12 18:17:05 UTC

[jira] Closed: (HARMONY-3159) [classlib][nio]refactor testcases in DatagramChannelTest to avoid getting port unsafely

     [ https://issues.apache.org/jira/browse/HARMONY-3159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Ellison closed HARMONY-3159.
--------------------------------

    Resolution: Duplicate

Dupe of HARMONY-3157

> [classlib][nio]refactor testcases in DatagramChannelTest to avoid getting port unsafely
> ---------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3159
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3159
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: Classlib
>            Reporter: Tony Wu
>         Assigned To: Tim Ellison
>
> There are following lines in setUp(), 
>        this.localAddr1 = new InetSocketAddress("127.0.0.1",
>                 Support_PortManager.getNextPort());
>         this.localAddr2 = new InetSocketAddress("127.0.0.1",
>                 Support_PortManager.getNextPort());
> Support_PortManager may be not necessary here because these addresses could be get after binding on 0 port.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.