RFR[8222829]: DatagramSocket.setSoTimeout does not specify IAE when timeout is negative
Alan Bateman
Alan.Bateman at oracle.com
Thu Sep 26 13:38:58 UTC 2019
On 26/09/2019 14:26, Patrick Concannon wrote:
> Hi Chris,
>
>
> Thanks for your reply.
>
> I've added the test case to
> test/jdk/java/net/DatagramSocket/DatagramTimeout.java as requested.
>
> You can find the new webrev here:
> http://cr.openjdk.java.net/~pconcannon/8222829/webrevs/webrev.01/
We should probably check that we also have tests for the DatagramChannel
socket adaptor. Its setSoTimeout does throw IAE when the timeout is
negative but it may not be tested.
-Alan.
More information about the net-dev
mailing list