RFR 8043954: Fix behavior difference of connect() for AIX (original) (raw)
Jonathan Lu luchsh at linux.vnet.ibm.com
Tue Jun 3 09:51:02 UTC 2014
- Previous message: RFR: JDK-8044206: LambdaMetafactory.altMetafactory javadoc refers to wrong method
- Next message: RFR 8043954: Fix behavior difference of connect() for AIX
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello,
Could I have following patch reviewed for bug 8034954 ?
http://cr.openjdk.java.net/~luchsh/JDK-8043954/
The patch is to fix a behavior difference of connect() API for AIX platform, according to the documentation, http://www-01.ibm.com/support/knowledgecenter/ssw_aix_71/com.ibm.aix.commtrf2/connect.htm?lang=en
On AIX, when connect() got interrupted by signal, the underlying connection will be made asynchronously,
"EINTR The attempt to establish a connection was interrupted by delivery of a signal that was caught; the connection will be established asynchronously."
This fix tries to poll() for successfully established connection or error in the similar way as NET_Timeout().
Thanks Jonathan
- Previous message: RFR: JDK-8044206: LambdaMetafactory.altMetafactory javadoc refers to wrong method
- Next message: RFR 8043954: Fix behavior difference of connect() for AIX
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]