RFR[8222829]: DatagramSocket.setSoTimeout does not specify IAE when timeout is negative

Patrick Concannon patrick.concannon at oracle.com
Wed Sep 25 14:50:01 UTC 2019


Hi,


Would it be possible to have both my fix JDK-8222829, and CSR 
JDK-8231401, reviewed?


This fix and CSR address the javadoc for DatagramSocket::setSoTimeout, 
and make explicit that an IllegalArgumentException will be thrown when 
passed a negative timeout value.


webrev: http://cr.openjdk.java.net/~pconcannon/8222829/webrevs/webrev.00/


CSR: https://bugs.openjdk.java.net/browse/JDK-8231401


Kind regards,


Patrick






More information about the net-dev mailing list