You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Tim Ellison (JIRA)" <ji...@apache.org> on 2009/03/26 17:12:00 UTC
[jira] Commented: (HARMONY-6090) [classlib][luni] - the
SO_REUSEADDR's default value of ServerSocket should be true on Linux
[ https://issues.apache.org/jira/browse/HARMONY-6090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12689528#action_12689528 ]
Tim Ellison commented on HARMONY-6090:
--------------------------------------
I agree with the defect, but not the proposed patch.
This is a regression since M8, we do not have any unit tests for testing the default value.
Here's the output from creating a default socket on different builds / OS's.
Linux - harmony M8
ServerSocket reuse address = true
Socket reuse address = false
Linux - harmony head
ServerSocket reuse address = false
Socket reuse address = false
Linux - RI
ServerSocket reuse address = true
Socket reuse address = false
Windows - harmony M8
ServerSocket reuse address = false
Socket reuse address = false
Windows - harmony M9
ServerSocket reuse address = false
Socket reuse address = false
Windows - RI
ServerSocket reuse address = false
Socket reuse address = false
-------
See associated commit r723103 (but it is not a case of simply reverting that...)
> [classlib][luni] - the SO_REUSEADDR's default value of ServerSocket should be true on Linux
> -------------------------------------------------------------------------------------------
>
> Key: HARMONY-6090
> URL: https://issues.apache.org/jira/browse/HARMONY-6090
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Affects Versions: 5.0M8
> Reporter: Regis Xu
> Assignee: Sean Qiu
> Fix For: 5.0M9
>
> Attachments: HARMONY-6090.diff
>
>
> In Harmony, the SO_REUSEADDR's default value of ServerSocket is false on Linux, while RI is true.
> according to spec, this default value is undefined, but it's better following RI to get better compatibility
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.