[HARMONY-6360] [classlib][luni]SocketTest and UnixSocketTest failed on AIX, because AIX do NOT support connect to port 0 (original) (raw)
Log inSkip to main contentSkip to sidebar
XMLWordPrintableJSON
Details
- Type: Test
- Status: Closed
- Priority: Minor
- Resolution: Fixed
- Affects Version/s: None
Description
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.
Attachments
Attachments
- 6360_v2.diff
22/Oct/09 08:24
3 kB
Ray Chen - 6360.diff
20/Oct/09 06:46
3 kB
Ray Chen
Activity
People
Votes:
0 Vote for this issue
Watchers:
0 Start watching this issue
Dates
Created:
20/Oct/09 06:44
Updated:
23/Oct/09 02:19
Resolved:
22/Oct/09 20:08