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/01/06 07:00:27 UTC

[jira] Created: (HARMONY-2944) [classlib][luni]No Exception was thrown when shutdown the input/output of a Socet twice

[classlib][luni]No Exception was thrown when shutdown the input/output of a Socet twice
---------------------------------------------------------------------------------------

                 Key: HARMONY-2944
                 URL: https://issues.apache.org/jira/browse/HARMONY-2944
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: Tony Wu
            Priority: Trivial


Following testcase throws SocketException on RI whereas returns silently on Harmony 

   public void test() throws IOException {
        Socket s = new Socket("0.0.0.0",0,false);
        s.shutdownInput();
        s.shutdownInput();
    }

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

        

[jira] Commented: (HARMONY-2944) [classlib][luni]No Exception was thrown when shutdown the input/output of a Socket twice

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

Mikhail Markov commented on HARMONY-2944:
-----------------------------------------

Forgot to add checks/testcase for shutdownOutput() method in the first patch, so please use H-2944-2.patch instead.

> [classlib][luni]No Exception was thrown when shutdown the input/output of a Socket twice
> ----------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2944
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2944
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Tony Wu
>            Priority: Trivial
>         Attachments: H-2944-2.patch, H-2944.patch
>
>
> Following testcase throws SocketException on RI whereas returns silently on Harmony 
>    public void test() throws IOException {
>         Socket s = new Socket("0.0.0.0",0,false);
>         s.shutdownInput();
>         s.shutdownInput();
>     }

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

        

[jira] Updated: (HARMONY-2944) [classlib][luni]No Exception was thrown when shutdown the input/output of a Socket twice

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

Mikhail Markov updated HARMONY-2944:
------------------------------------

    Attachment: H-2944-2.patch

> [classlib][luni]No Exception was thrown when shutdown the input/output of a Socket twice
> ----------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2944
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2944
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Tony Wu
>            Priority: Trivial
>         Attachments: H-2944-2.patch, H-2944.patch
>
>
> Following testcase throws SocketException on RI whereas returns silently on Harmony 
>    public void test() throws IOException {
>         Socket s = new Socket("0.0.0.0",0,false);
>         s.shutdownInput();
>         s.shutdownInput();
>     }

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

        

[jira] Updated: (HARMONY-2944) [classlib][luni]No Exception was thrown when shutdown the input/output of a Socket twice

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

Tony Wu updated HARMONY-2944:
-----------------------------

    Summary: [classlib][luni]No Exception was thrown when shutdown the input/output of a Socket twice  (was: [classlib][luni]No Exception was thrown when shutdown the input/output of a Socet twice)

> [classlib][luni]No Exception was thrown when shutdown the input/output of a Socket twice
> ----------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2944
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2944
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Tony Wu
>            Priority: Trivial
>
> Following testcase throws SocketException on RI whereas returns silently on Harmony 
>    public void test() throws IOException {
>         Socket s = new Socket("0.0.0.0",0,false);
>         s.shutdownInput();
>         s.shutdownInput();
>     }

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

        

[jira] Updated: (HARMONY-2944) [classlib][luni]No Exception was thrown when shutdown the input/output of a Socket twice

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

Mikhail Markov updated HARMONY-2944:
------------------------------------

    Attachment: H-2944.patch

> [classlib][luni]No Exception was thrown when shutdown the input/output of a Socket twice
> ----------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2944
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2944
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Tony Wu
>            Priority: Trivial
>         Attachments: H-2944.patch
>
>
> Following testcase throws SocketException on RI whereas returns silently on Harmony 
>    public void test() throws IOException {
>         Socket s = new Socket("0.0.0.0",0,false);
>         s.shutdownInput();
>         s.shutdownInput();
>     }

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

        

[jira] Resolved: (HARMONY-2944) [classlib][luni]No Exception was thrown when shutdown the input/output of a Socket twice

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

Tim Ellison resolved HARMONY-2944.
----------------------------------

    Resolution: Fixed

Thanks Tony / Mikhail.

Patch applied to LUNI module at repo revision r494780.

Please check that it was applied as you expected.


> [classlib][luni]No Exception was thrown when shutdown the input/output of a Socket twice
> ----------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2944
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2944
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Tony Wu
>         Assigned To: Tim Ellison
>            Priority: Trivial
>         Attachments: H-2944-2.patch, H-2944.patch
>
>
> Following testcase throws SocketException on RI whereas returns silently on Harmony 
>    public void test() throws IOException {
>         Socket s = new Socket("0.0.0.0",0,false);
>         s.shutdownInput();
>         s.shutdownInput();
>     }

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

        

[jira] Closed: (HARMONY-2944) [classlib][luni]No Exception was thrown when shutdown the input/output of a Socket twice

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

Tim Ellison closed HARMONY-2944.
--------------------------------


Verified by Mikhail.


> [classlib][luni]No Exception was thrown when shutdown the input/output of a Socket twice
> ----------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2944
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2944
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Tony Wu
>         Assigned To: Tim Ellison
>            Priority: Trivial
>         Attachments: H-2944-2.patch, H-2944.patch
>
>
> Following testcase throws SocketException on RI whereas returns silently on Harmony 
>    public void test() throws IOException {
>         Socket s = new Socket("0.0.0.0",0,false);
>         s.shutdownInput();
>         s.shutdownInput();
>     }

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

        

[jira] Commented: (HARMONY-2944) [classlib][luni]No Exception was thrown when shutdown the input/output of a Socket twice

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

Mikhail Markov commented on HARMONY-2944:
-----------------------------------------

Thanks, Tim - integrated as expected.

> [classlib][luni]No Exception was thrown when shutdown the input/output of a Socket twice
> ----------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2944
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2944
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Tony Wu
>         Assigned To: Tim Ellison
>            Priority: Trivial
>         Attachments: H-2944-2.patch, H-2944.patch
>
>
> Following testcase throws SocketException on RI whereas returns silently on Harmony 
>    public void test() throws IOException {
>         Socket s = new Socket("0.0.0.0",0,false);
>         s.shutdownInput();
>         s.shutdownInput();
>     }

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

        

[jira] Assigned: (HARMONY-2944) [classlib][luni]No Exception was thrown when shutdown the input/output of a Socket twice

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

Tim Ellison reassigned HARMONY-2944:
------------------------------------

    Assignee: Tim Ellison

> [classlib][luni]No Exception was thrown when shutdown the input/output of a Socket twice
> ----------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2944
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2944
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Tony Wu
>         Assigned To: Tim Ellison
>            Priority: Trivial
>         Attachments: H-2944-2.patch, H-2944.patch
>
>
> Following testcase throws SocketException on RI whereas returns silently on Harmony 
>    public void test() throws IOException {
>         Socket s = new Socket("0.0.0.0",0,false);
>         s.shutdownInput();
>         s.shutdownInput();
>     }

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