7041778: Move SCTP implementation out of sun.nio.ch and into its own package

Chris Hegarty chris.hegarty at oracle.com
Mon Jan 30 13:39:50 PST 2012


On 01/30/12 06:37 PM, Ulf Zibis wrote:
> Many classes of the sctp package are prefixed by Sctp...
> Can these prefixes be removed now?

Ah yes, I guess they probably can. Thanks Ulf.

Obviously, the original intent was to make them easily identifiable 
among the other sun.nio.ch implementation classes.

I've renamed as many as I feel comfortable with. I want to avoid obvious 
name conflicts.

http://cr.openjdk.java.net/~chegar/7041778/webrev.01/webrev/

Thanks,
-Chris.

>
> -Ulf
>
>
> Am 30.01.2012 17:45, schrieb Chris Hegarty:
>> This CR will be used to move the SCTP Java implementation into its own
>> package, from sun.nio.ch to sun.nio.ch.sctp. There is currently no
>> restriction that libsctp cannot depend on libnet/nio, so the native
>> implementation simply needs to reflect the new Java package structure.
>>
>> As a consequence of moving the SCTP implementation into its own
>> package some of the package private sun.nio.ch classes need to made
>> public so the SCTP implementation can access them. Utility classes
>> like IOStatus, IOUtil, Net, and Util. The SelChImpl interface that the
>> SCTP channels implement, etc.
>>
>> http://cr.openjdk.java.net/~chegar/7041778/webrev.00/webrev/
>>
>> Thanks,
>> -Chris.
>>


More information about the nio-dev mailing list