harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Wu (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-3159) [classlib][nio]refactor testcases in DatagramChannelTest to avoid getting port unsafely
Date Mon, 12 Feb 2007 09:07:05 GMT
[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


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