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

[jira] Created: (HARMONY-3157) [classlib][nio]it is not necessary to use PortManager to create a DatagramSocket in DatagramChannelTest

[classlib][nio]it is not necessary to use PortManager to create a DatagramSocket in DatagramChannelTest
-------------------------------------------------------------------------------------------------------

                 Key: HARMONY-3157
                 URL: https://issues.apache.org/jira/browse/HARMONY-3157
             Project: Harmony
          Issue Type: Sub-task
          Components: Classlib
            Reporter: Tony Wu


Constructing a DatagramSocket with parameter "0" indicates that the os will chose an available port automatically.
This fix will reduce the fail ratio effectively.

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


[jira] Assigned: (HARMONY-3157) [classlib][nio]it is not necessary to use PortManager to create a DatagramSocket in DatagramChannelTest

Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Ellison reassigned HARMONY-3157:
------------------------------------

    Assignee: Tim Ellison

> [classlib][nio]it is not necessary to use PortManager to create a DatagramSocket in DatagramChannelTest
> -------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3157
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3157
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: Classlib
>            Reporter: Tony Wu
>         Assigned To: Tim Ellison
>         Attachments: H-3157_upd.patch, harmony-3157.diff
>
>
> Constructing a DatagramSocket with parameter "0" indicates that the os will chose an available port automatically.
> This fix will reduce the fail ratio effectively.

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


[jira] Closed: (HARMONY-3157) [classlib][nio]it is not necessary to use PortManager to create a DatagramSocket in DatagramChannelTest

Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Ellison closed HARMONY-3157.
--------------------------------


Verified by Mikhail.


> [classlib][nio]it is not necessary to use PortManager to create a DatagramSocket in DatagramChannelTest
> -------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3157
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3157
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: Classlib
>            Reporter: Tony Wu
>         Assigned To: Tim Ellison
>         Attachments: H-3157_upd.patch, harmony-3157.diff
>
>
> Constructing a DatagramSocket with parameter "0" indicates that the os will chose an available port automatically.
> This fix will reduce the fail ratio effectively.

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


[jira] Resolved: (HARMONY-3157) [classlib][nio]it is not necessary to use PortManager to create a DatagramSocket in DatagramChannelTest

Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Ellison resolved HARMONY-3157.
----------------------------------

    Resolution: Fixed

Thanks Tony & Mikhail,

Patch applied to NIO module at repo revision r506540.

Please check that it was applied as you expected.


> [classlib][nio]it is not necessary to use PortManager to create a DatagramSocket in DatagramChannelTest
> -------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3157
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3157
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: Classlib
>            Reporter: Tony Wu
>         Assigned To: Tim Ellison
>         Attachments: H-3157_upd.patch, harmony-3157.diff
>
>
> Constructing a DatagramSocket with parameter "0" indicates that the os will chose an available port automatically.
> This fix will reduce the fail ratio effectively.

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


[jira] Updated: (HARMONY-3157) [classlib][nio]it is not necessary to use PortManager to create a DatagramSocket in DatagramChannelTest

Posted by "Mikhail Markov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mikhail Markov updated HARMONY-3157:
------------------------------------

    Attachment: H-3157_upd.patch

Tony, there are 3 other places in DatagramChannelTest which could be fixed in the same way. I've attached the updated patch incorporated your changes as well.

> [classlib][nio]it is not necessary to use PortManager to create a DatagramSocket in DatagramChannelTest
> -------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3157
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3157
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: Classlib
>            Reporter: Tony Wu
>         Attachments: H-3157_upd.patch, harmony-3157.diff
>
>
> Constructing a DatagramSocket with parameter "0" indicates that the os will chose an available port automatically.
> This fix will reduce the fail ratio effectively.

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


[jira] Commented: (HARMONY-3157) [classlib][nio]it is not necessary to use PortManager to create a DatagramSocket in DatagramChannelTest

Posted by "Mikhail Markov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12472353 ] 

Mikhail Markov commented on HARMONY-3157:
-----------------------------------------

Thanks, Tim! Applied as expected.

> [classlib][nio]it is not necessary to use PortManager to create a DatagramSocket in DatagramChannelTest
> -------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3157
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3157
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: Classlib
>            Reporter: Tony Wu
>         Assigned To: Tim Ellison
>         Attachments: H-3157_upd.patch, harmony-3157.diff
>
>
> Constructing a DatagramSocket with parameter "0" indicates that the os will chose an available port automatically.
> This fix will reduce the fail ratio effectively.

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


[jira] Updated: (HARMONY-3157) [classlib][nio]it is not necessary to use PortManager to create a DatagramSocket in DatagramChannelTest

Posted by "Tony Wu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tony Wu updated HARMONY-3157:
-----------------------------

    Attachment: harmony-3157.diff

would you pls try this patch?
thanks a lot!

> [classlib][nio]it is not necessary to use PortManager to create a DatagramSocket in DatagramChannelTest
> -------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3157
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3157
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: Classlib
>            Reporter: Tony Wu
>         Attachments: harmony-3157.diff
>
>
> Constructing a DatagramSocket with parameter "0" indicates that the os will chose an available port automatically.
> This fix will reduce the fail ratio effectively.

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