On Wed, 24 Jul 2024 11:10:10 GMT, Alan Bateman <al...@openjdk.org> wrote:
>> Jaikiran Pai has updated the pull request incrementally with one additional >> commit since the last revision: >> >> add Joe's suggestion to the close() methods > > src/java.base/share/classes/java/net/Socket.java line 1737: > >> 1735: * Once a socket has been closed, it is not available for further >> networking >> 1736: * use (i.e. can't be reconnected or rebound) and several of the >> methods defined >> 1737: * by this class will throw an exception when invoked on the >> closed socket. A new > > I think "if invoked" might be better than "when invoked" here Fixed and updated the PR to address both these places. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/20268#discussion_r1689612978