Hi Alan,

I've added a similar check for DatagramChannel socket adaptor as requested. You can find it in the webrev below.

http://cr.openjdk.java.net/~pconcannon/8219446/webrevs/webrev.01/


Kind regards,

Patrick

On 26/09/2019 14:38, Alan Bateman wrote:
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.

Reply via email to