RFR: 8319417: (dc) DatagramChannel.connect undocumented behavior [v2]

Michael McMahon michaelm at openjdk.org
Tue Nov 28 22:22:08 UTC 2023


On Tue, 28 Nov 2023 17:20:05 GMT, Mark Sheppard <msheppar at openjdk.org> wrote:

> > That is the behavior for the main supported platforms. We had a concern that it might not be the case on other platforms. Hence, the word "may".
> 
> yes, appreciate that sentiment, but "may" is a bit flippy floppy - a definitely maybe. A stronger emphasis that this is OS dependent, such as the inclusion of an perhaps an apiNote to that effect, would be useful and informative

I think it's the same effect. I'd prefer not to complicate the text. We don't actually know the exact conditions where it might be supported and when not.

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

PR Comment: https://git.openjdk.org/jdk/pull/16635#issuecomment-1830849690


More information about the nio-dev mailing list