harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Markov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-3159) [classlib][nio]refactor testcases in DatagramChannelTest to avoid getting port unsafely
Date Mon, 12 Feb 2007 17:37:06 GMT

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

Mikhail Markov commented on HARMONY-3159:
-----------------------------------------

Tim, unfortunately, this issue does not duplicated HARMONY-3157 but suppliment with it:
H-3157 is about modifying DatagramSocket-s creation with arbitrary port number which could
be done in the code directly
This JIRA is about modifying InetSocketAddress-s creation - it also should be fixed, but it's
not obvious for now how to do this.

Could you please reopen this JIRA?

> [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.


Mime
View raw message