You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Catherine Hope (JIRA)" <ji...@apache.org> on 2010/07/15 14:39:50 UTC
[jira] Created: (HARMONY-6586) [classlib][luni]
java.net.ServerSocket.accept throws BindException when the accept fails
with ECONNABORTED
[classlib][luni] java.net.ServerSocket.accept throws BindException when the accept fails with ECONNABORTED
----------------------------------------------------------------------------------------------------------
Key: HARMONY-6586
URL: https://issues.apache.org/jira/browse/HARMONY-6586
Project: Harmony
Issue Type: Bug
Components: Classlib
Reporter: Catherine Hope
Priority: Minor
Attachments: 6586.patch
Socket accept calls should be repeated if the accept system call fails with errno ECONNABORTED, instead of the current behaviour which throws a java.net.BindException if the accept fails for any reason. In cases where the accept fails with a different error the RI throws a SocketException. This problem was found running Tomcat regression tests, but I don't have a simple testcase to reproduce the scenario.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HARMONY-6586) [classlib][luni]
java.net.ServerSocket.accept throws BindException when the accept fails
with ECONNABORTED
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-6586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12889153#action_12889153 ]
Hudson commented on HARMONY-6586:
---------------------------------
Integrated in Harmony-select-1.5-head-linux-x86_64 #67 (See [http://hudson.zones.apache.org/hudson/job/Harmony-select-1.5-head-linux-x86_64/67/])
Apply patch for HARMONY-6586: [classlib][luni] java.net.ServerSocket.accept throws BindException when the accept fails with ECONNABORTED
> [classlib][luni] java.net.ServerSocket.accept throws BindException when the accept fails with ECONNABORTED
> ----------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-6586
> URL: https://issues.apache.org/jira/browse/HARMONY-6586
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Catherine Hope
> Assignee: Regis Xu
> Priority: Minor
> Fix For: 5.0M15
>
> Attachments: 6586.patch
>
>
> Socket accept calls should be repeated if the accept system call fails with errno ECONNABORTED, instead of the current behaviour which throws a java.net.BindException if the accept fails for any reason. In cases where the accept fails with a different error the RI throws a SocketException. This problem was found running Tomcat regression tests, but I don't have a simple testcase to reproduce the scenario.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (HARMONY-6586) [classlib][luni]
java.net.ServerSocket.accept throws BindException when the accept fails
with ECONNABORTED
Posted by "Catherine Hope (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-6586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Catherine Hope closed HARMONY-6586.
-----------------------------------
Verified, thanks!
> [classlib][luni] java.net.ServerSocket.accept throws BindException when the accept fails with ECONNABORTED
> ----------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-6586
> URL: https://issues.apache.org/jira/browse/HARMONY-6586
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Catherine Hope
> Assignee: Regis Xu
> Priority: Minor
> Fix For: 5.0M15
>
> Attachments: 6586.patch
>
>
> Socket accept calls should be repeated if the accept system call fails with errno ECONNABORTED, instead of the current behaviour which throws a java.net.BindException if the accept fails for any reason. In cases where the accept fails with a different error the RI throws a SocketException. This problem was found running Tomcat regression tests, but I don't have a simple testcase to reproduce the scenario.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-6586) [classlib][luni]
java.net.ServerSocket.accept throws BindException when the accept fails
with ECONNABORTED
Posted by "Catherine Hope (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-6586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Catherine Hope updated HARMONY-6586:
------------------------------------
Attachment: 6586.patch
The patch attached repeats the select/accept calls in org.apache.harmony.luni.platform.OSNetworkSystem.acceptStreamSocket if accept fails with errno ECONNABORTED, replaces the BindException with a SocketException and also removes the native method org.apache.harmony.luni.platform.OSNetworkSystem.acceptSocketImpl as it is not referenced anywhere.
> [classlib][luni] java.net.ServerSocket.accept throws BindException when the accept fails with ECONNABORTED
> ----------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-6586
> URL: https://issues.apache.org/jira/browse/HARMONY-6586
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Catherine Hope
> Priority: Minor
> Attachments: 6586.patch
>
>
> Socket accept calls should be repeated if the accept system call fails with errno ECONNABORTED, instead of the current behaviour which throws a java.net.BindException if the accept fails for any reason. In cases where the accept fails with a different error the RI throws a SocketException. This problem was found running Tomcat regression tests, but I don't have a simple testcase to reproduce the scenario.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (HARMONY-6586) [classlib][luni]
java.net.ServerSocket.accept throws BindException when the accept fails
with ECONNABORTED
Posted by "Regis Xu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-6586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Regis Xu resolved HARMONY-6586.
-------------------------------
Fix Version/s: 5.0M15
Resolution: Fixed
Thanks Catherine!!
Patch was applied at r964715, please verify.
> [classlib][luni] java.net.ServerSocket.accept throws BindException when the accept fails with ECONNABORTED
> ----------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-6586
> URL: https://issues.apache.org/jira/browse/HARMONY-6586
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Catherine Hope
> Assignee: Regis Xu
> Priority: Minor
> Fix For: 5.0M15
>
> Attachments: 6586.patch
>
>
> Socket accept calls should be repeated if the accept system call fails with errno ECONNABORTED, instead of the current behaviour which throws a java.net.BindException if the accept fails for any reason. In cases where the accept fails with a different error the RI throws a SocketException. This problem was found running Tomcat regression tests, but I don't have a simple testcase to reproduce the scenario.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (HARMONY-6586) [classlib][luni]
java.net.ServerSocket.accept throws BindException when the accept fails
with ECONNABORTED
Posted by "Regis Xu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-6586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Regis Xu reassigned HARMONY-6586:
---------------------------------
Assignee: Regis Xu
> [classlib][luni] java.net.ServerSocket.accept throws BindException when the accept fails with ECONNABORTED
> ----------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-6586
> URL: https://issues.apache.org/jira/browse/HARMONY-6586
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Catherine Hope
> Assignee: Regis Xu
> Priority: Minor
> Fix For: 5.0M15
>
> Attachments: 6586.patch
>
>
> Socket accept calls should be repeated if the accept system call fails with errno ECONNABORTED, instead of the current behaviour which throws a java.net.BindException if the accept fails for any reason. In cases where the accept fails with a different error the RI throws a SocketException. This problem was found running Tomcat regression tests, but I don't have a simple testcase to reproduce the scenario.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HARMONY-6586) [classlib][luni]
java.net.ServerSocket.accept throws BindException when the accept fails
with ECONNABORTED
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-6586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12889097#action_12889097 ]
Hudson commented on HARMONY-6586:
---------------------------------
Integrated in Harmony-1.5-head-linux-x86_64 #897 (See [http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/897/])
Apply patch for HARMONY-6586: [classlib][luni] java.net.ServerSocket.accept throws BindException when the accept fails with ECONNABORTED
> [classlib][luni] java.net.ServerSocket.accept throws BindException when the accept fails with ECONNABORTED
> ----------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-6586
> URL: https://issues.apache.org/jira/browse/HARMONY-6586
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Catherine Hope
> Assignee: Regis Xu
> Priority: Minor
> Fix For: 5.0M15
>
> Attachments: 6586.patch
>
>
> Socket accept calls should be repeated if the accept system call fails with errno ECONNABORTED, instead of the current behaviour which throws a java.net.BindException if the accept fails for any reason. In cases where the accept fails with a different error the RI throws a SocketException. This problem was found running Tomcat regression tests, but I don't have a simple testcase to reproduce the scenario.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.