harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Catherine Hope (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-6586) [classlib][luni] java.net.ServerSocket.accept throws BindException when the accept fails with ECONNABORTED
Date Thu, 15 Jul 2010 12:39:50 GMT

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


Mime
View raw message