harmony-commits mailing list archives

[jira] Commented: (HARMONY-6360) [classlib][luni]SocketTest and UnixSocketTest failed on AIX, because AIX do NOT support connect to port 0

Date

Thu, 22 Oct 2009 21:00:59 GMT

[ https://issues.apache.org/jira/browse/HARMONY-6360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12768893#action_12768893
]
Hudson commented on HARMONY-6360:
---------------------------------
Integrated in Harmony-1.5-head-linux-x86_64 #511 (See [http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/511/])
Apply patch for ([classlib][luni]SocketTest and UnixSocketTest failed on AIX, because
AIX do NOT support connect to port 0)
> [classlib][luni]SocketTest and UnixSocketTest failed on AIX, because AIX do NOT support
connect to port 0
> ---------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-6360
> URL: https://issues.apache.org/jira/browse/HARMONY-6360
> Project: Harmony
> Issue Type: Test
> Components: Classlib
> Environment: AIX
> Reporter: Ray Chen
> Assignee: Oliver Deakin
> Priority: Minor
> Fix For: 5.0M12
>
> Attachments: 6360.diff, 6360_v2.diff
>
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> SocketTest failed on AIX at the statement "Socket s = new Socket("0.0.0.0", 0, false);"
which create a socket in local and connect to IP address and port specified (0.0.0.0:0), which
in turn actually connect to (machineIP:0) in PlainSocketImpl.java
> However AIX and some other Unix platform do NOT support connect to port 0.
> If you try to connect to your mahchine with port 0 in C program will get EADDRNOTAVAIL
error on AIX and zos but it works well on Linux.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.