During the review of CSR JDK-8231401, it was observed that DatagramSocket.setSoTimeout, Socket.setSoTimeout and ServerSocket.setTimeout have a contradiction in their description of the valdi range for a timeout value:
"The timeout must be {@code > 0}. A timeout of zero is interpreted as an infinite timeout."
This should be corrected.
"The timeout must be {@code > 0}. A timeout of zero is interpreted as an infinite timeout."
This should be corrected.
- csr for
-
JDK-8232166 Correct contradictions in timeout range descriptions
-
- Closed
-
- relates to
-
JDK-8231401 DatagramSocket.setSoTimeout does not specify IAE when timeout is negative
-
- Closed
-