[sctp-dev] Use SCTP with Java 1.6?

Christopher Hegarty - Sun Microsystems Ireland Christopher.Hegarty at Sun.COM
Fri Jan 8 08:23:18 PST 2010


Hi Michal,

I was trying to come up with a list of things to do to get the SCTP 
implementation working on JDK6, when I came across a previous attempt I 
made at it. To my surprise I had actually got further than I thought, 
and I found a list of changes I wanted to push into JDK7 so make this 
simpler ( as well as a few new ones ).

 From that I created;
  6915313: (sctp) Reorganize implementation to make it more feasible to 
port to JDK6

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

With these changes applied we can simply take the JDK7 SCTP code, and 
with two very minor edits have it run with JDK6. I did this and have it 
running with JDK6u17. Without the above mentioned changes it is a little 
more tricky because you need to make many more edits and recompile the 
native code.

I will be requesting a review of 6915313 and hope to be in a position to 
push it early next week. I can then send detailed instructions of how to 
get it working with JDK 6.

-Chris.

On 06/01/2010 14:57, Christopher Hegarty - Sun Microsystems Ireland wrote:
> Hi Michal,
> 
> There is no binary/package of SCTP available for JDK6. We received a 
> number of inquiries about this so far, but none of which are considered 
> a high enough priority to consider an official backport to JDK6.
> 
> That being said, a while back I took the API and implementation from 
> JDK7 and tried to bolt it onto a JDK6 update. It was close to 
> completion, but I got side tracked with other things. When designing the 
> API, and doing the implementation, I considered the possibility that it 
> may one day be ported to JDK6. If you look at the implementation and you 
> will see that there are very little JDK7 dependencies. It should be 
> relatively straight forward to extract the API and implementation and 
> have it run with JDK6. One caveat, the implementation depends on a sun 
> private API and will only run with Sun's JDK.
> 
> Is this something you would be willing to work on? I can certainly help, 
> but I don't have the time right now to run with it myself.
> 
> -Chris.
> 
> On 06/01/2010 06:09, Michal Lefler wrote:
>> Hi.
>>
>> I would like to use this SCTP implementation with my Java 1.6_17. Is
>> there a binary distribution of this package alone?
>>
>> How can I use this SCTP package with Java 1.6?
>>
>> Thanks,
>>
>> Michal.
>>
>>  
>>
>>


More information about the sctp-dev mailing list