[sctp-dev] FW: Use SCTP with Java 1.6?
Dennis Hjort
dennis.hjort at ericsson.com
Mon Jan 18 09:43:05 PST 2010
Christopher,
Thanks !
As to Alan's point, I do understand that it is and will be unsupported.
We will use it as such also, and try to keep the questions to a minimum.
If I get any other problems I'll try running with JDK7, and if it's
reproduceable under JDK7, otherwise I'll mark it as "could be good to
know", when using this unsupported version.
With kind regards
// Dennis
-----Original Message-----
From: Christopher.Hegarty at Sun.COM [mailto:Christopher.Hegarty at Sun.COM]
Sent: den 18 januari 2010 16:23
To: Dennis Hjort
Cc: sctp-dev at openjdk.java.net
Subject: Re: [sctp-dev] FW: Use SCTP with Java 1.6?
Christopher Hegarty -Sun Microsystems Ireland wrote:
> Hi Dennis,
>
> 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.
>
> Thanks for reporting this issue. I filed the following bug:
> 6917317: (sctp) Remove dependency on handleSocketError
Dennis,
I've pushed the source changes for this and updated the libsctp.so on
the instructions page [1]. Again, until the next JDK7 promotion you will
need to get libsctp from there.
Alan made a good point during review of 6917317:
The SCTP implementation run with Sun's JDK6 is completely unsupported.
The implementation uses Sun proprietary APIs that may be removed or
changed in the future. Also, Sun's JDK6 is built with RHAS 2.1A and an
old gcc. JDK7 is built with Fedora 9 and a more modern gcc. Everything
should work (in theory) but there are bound to to be older Linux
distributions where Sun's JDK6 works but libsctp will not work.
-Chris.
[1] http://openjdk.java.net/projects/sctp/html/sctp6.html
>
> -Chris.
More information about the sctp-dev
mailing list