RFR: 8336817: DatagramSocket.connect does not specify behavior when already connected [v4]

Jaikiran Pai jpai at openjdk.org
Mon Aug 19 01:48:15 UTC 2024


On Wed, 14 Aug 2024 13:35:02 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

>> Can I please get a review of this doc-only change which updates the javadoc on several methods of the `java.net.DatagramSocket` class to match its current implementation?
>> 
>> This addresses https://bugs.openjdk.org/browse/JDK-8336817.
>> 
>> I'll open a CSR once we settle on the proposed text.
>
> Jaikiran Pai has updated the pull request incrementally with one additional commit since the last revision:
> 
>   add a note to close() method just like we did for Socket.close()/ServerSocket.close()

Joe rightly noted in the CSR about MulticastSocket. It too required clarifications similar to what we have done in the DatagramSocket. I've now updated this PR to include those doc-only changes.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/20543#issuecomment-2295515563


More information about the net-dev mailing list