adding rsockets support into JDK

Lu, Yingqi yingqi.lu at intel.com
Mon Apr 30 03:26:58 UTC 2018


Great idea!! Thank you Alan for your help!

I will send the updated patch for review early this week.

Thanks,
Lucy

>-----Original Message-----
>From: Alan Bateman [mailto:Alan.Bateman at oracle.com]
>Sent: Saturday, April 28, 2018 1:00 AM
>To: Lu, Yingqi <yingqi.lu at intel.com>; nio-dev at openjdk.java.net
>Cc: Viswanathan, Sandhya <sandhya.viswanathan at intel.com>; Aundhe, Shirish
><shirish.aundhe at intel.com>; Kaczmarek, Eric <eric.kaczmarek at intel.com>
>Subject: Re: adding rsockets support into JDK
>
>On 27/04/2018 18:26, Lu, Yingqi wrote:
>> Hi Alan,
>>
>> I have a question regarding to replace "changing system-wide
>SocketImplFactory" to "returning new Socket(impl)". Is it OK if I change
>Socket(impl) constructor from protected to public? I need to call it from jdk.net
>module.
>>
>It doesn't need to be changed as you can call it from an anonymous subclass, e.g.:
>
>SocketImpl impl = factory.createSocketImpl(); return new Socket(impl) { };
>
>-Alan


More information about the nio-dev mailing list