adding rsockets support into JDK
Chris Hegarty
chris.hegarty at oracle.com
Tue May 22 09:04:24 UTC 2018
On 22/05/18 00:38, Lu, Yingqi wrote:
> The JEP is updated with the feedback from Alan and Chris.
>
> https://bugs.openjdk.java.net/browse/JDK-8203434
From the latest draft:
"On platforms where rsocket is not supported,
UnsupportedOperationException is thrown on socket/*channel*
operations."
This does not sound right to me ( unless I am misinterpreting ).
I read this to mean; on platforms without RDMA support, that
openRdmaSocket() returns a Socket whose operations all throw
UnsupportedOperationException.
I would expect that openRdmaSocket() would throw
UnsupportedOperationException, if RDMA is not supported.
Similar with all the factory methods.
Also, please consider capitalizing RDMA in factory method names.
-Chris.
More information about the nio-dev
mailing list