# HG changeset patch # User alanb # Date 1308325636 -3600 # Node ID c46f97579fe6248fc64014245eaf780869cfef2d # Parent b6ced5ad7a626b8041bb9d48031154ecd73c9ea9 7055508: (aio) EXCEPTION_ACCESS_VIOLATION in AsynchronousSocketChannel.connect on Windows 7 Reviewed-by: chegar diff -r b6ced5ad7a62 -r c46f97579fe6 src/windows/native/sun/nio/ch/WindowsAsynchronousSocketChannelImpl.c --- a/src/windows/native/sun/nio/ch/WindowsAsynchronousSocketChannelImpl.c Fri Jun 10 17:44:43 2011 +0200 +++ b/src/windows/native/sun/nio/ch/WindowsAsynchronousSocketChannelImpl.c Fri Jun 17 16:47:16 2011 +0100 @@ -44,7 +44,7 @@ #define SO_UPDATE_CONNECT_CONTEXT 0x7010 #endif -typedef BOOL (*ConnectEx_t) +typedef BOOL (PASCAL *ConnectEx_t) ( SOCKET s, const struct sockaddr* name,