[sctp-dev] Request for Review: 6917317

Christopher Hegarty -Sun Microsystems Ireland Christopher.Hegarty at Sun.COM
Mon Jan 18 06:08:41 PST 2010


Problem Description:

handleSocketError is an exported nio function in JDK7, but not JDK6. The 
sctp implementation calls it in the case of an error on the socket. You 
will receive an error from the dynamic linker becuase this function is 
not in libnio of JDK6, if running SCTP with Suns JDK6.

While not strictly not a bug in JDK7, I think we can simply copy the 
small native function, handleSockeError, to the SCTP implementation and 
have it built into libsctp.so removing this dependency.

6917317: (sctp) Remove dependency on handleSocketError

Webrev:
   http://cr.openjdk.java.net/~chegar/6917317/webrev.0/webrev/

Thanks,
-Chris.


More information about the sctp-dev mailing list