RFR [13] 8219446: Specify behaviour of timeout accepting methods of Socket and ServerSocket if timeout is negative
Chris Hegarty
chris.hegarty at oracle.com
Fri Mar 22 11:59:04 UTC 2019
On 22/03/2019 11:54, Alan Bateman wrote:
> ...
>> Webrev:
>> http://cr.openjdk.java.net/~chegar/8219446/webrev.00/
>> CSR:
>> https://bugs.openjdk.java.net/browse/JDK-8221248
> This looks okay to me, I've added myself as Reviewer on the CSR.
>
> One small suggestion for the exception message is use "timeout < 0" to
> avoid needing to use "can't" in the message.
Good point. Updated in place.
( My bad! I cut'n'paste that crummy message from elsewhere
in Socket, but forgot to update it! )
-Chris.
More information about the net-dev
mailing list