RFR: 8329733: Update the documentation in java.net.SocketOptions to direct to java.net.StandardSocketOptions

2024-04-05 Thread Jaikiran Pai
Can I please get a review of this doc-only change which proposes to clean up the documentation of `java.net.SocketOptions` interface? As noted in https://bugs.openjdk.org/browse/JDK-8329733, the existing documentation in this legacy interface isn't accurate. The commit in this PR, updates the d

RFR: 8329745: Update the documentation of ServerSocket and Socket to refer to StandardSocketOptions instead of legacy SocketOptions

2024-04-05 Thread Jaikiran Pai
Can I please get a review of this doc-only changes to java.net.ServerSocket and java.net.Socket classes? As noted in https://bugs.openjdk.org/browse/JDK-8329745, these classes currently refer to the legacy `java.net.SocketOptions` interface and instead should be refering to the newer `java.net.

Re: RFR: 8329733: Update the documentation in java.net.SocketOptions to direct to java.net.StandardSocketOptions

2024-04-05 Thread Daniel Jeliński
On Fri, 5 Apr 2024 06:56:06 GMT, Jaikiran Pai wrote: > Can I please get a review of this doc-only change which proposes to clean up > the documentation of `java.net.SocketOptions` interface? > > As noted in https://bugs.openjdk.org/browse/JDK-8329733, the existing > documentation in this legac

Re: RFR: 8329733: Update the documentation in java.net.SocketOptions to direct to java.net.StandardSocketOptions

2024-04-05 Thread Alan Bateman
On Fri, 5 Apr 2024 06:56:06 GMT, Jaikiran Pai wrote: > Can I please get a review of this doc-only change which proposes to clean up > the documentation of `java.net.SocketOptions` interface? > > As noted in https://bugs.openjdk.org/browse/JDK-8329733, the existing > documentation in this legac

Re: RFR: 8329745: Update the documentation of ServerSocket and Socket to refer to StandardSocketOptions instead of legacy SocketOptions

2024-04-05 Thread Alan Bateman
On Fri, 5 Apr 2024 07:31:47 GMT, Jaikiran Pai wrote: > Can I please get a review of this doc-only changes to java.net.ServerSocket > and java.net.Socket classes? > > As noted in https://bugs.openjdk.org/browse/JDK-8329745, these classes > currently refer to the legacy `java.net.SocketOptions`

Re: RFR: 8329745: Update the documentation of ServerSocket and Socket to refer to StandardSocketOptions instead of legacy SocketOptions

2024-04-05 Thread Jaikiran Pai
On Fri, 5 Apr 2024 10:38:21 GMT, Alan Bateman wrote: >> Can I please get a review of this doc-only changes to java.net.ServerSocket >> and java.net.Socket classes? >> >> As noted in https://bugs.openjdk.org/browse/JDK-8329745, these classes >> currently refer to the legacy `java.net.SocketOpti

Re: RFR: 8329733: Update the documentation in java.net.SocketOptions to direct to java.net.StandardSocketOptions [v2]

2024-04-05 Thread Jaikiran Pai
> Can I please get a review of this doc-only change which proposes to clean up > the documentation of `java.net.SocketOptions` interface? > > As noted in https://bugs.openjdk.org/browse/JDK-8329733, the existing > documentation in this legacy interface isn't accurate. The commit in this PR, > u

Re: RFR: 8329733: Update the documentation in java.net.SocketOptions to direct to java.net.StandardSocketOptions [v2]

2024-04-05 Thread Jaikiran Pai
On Fri, 5 Apr 2024 10:22:24 GMT, Alan Bateman wrote: >> Jaikiran Pai has updated the pull request incrementally with three >> additional commits since the last revision: >> >> - "timeout value" instead of "timeout" >> - missed SO_TIMEOUT review suggestion in previous commit >> - Alan's revie

Re: RFR: 8329745: Update the documentation of ServerSocket and Socket to refer to StandardSocketOptions instead of legacy SocketOptions [v2]

2024-04-05 Thread Jaikiran Pai
On Fri, 5 Apr 2024 11:29:14 GMT, Jaikiran Pai wrote: >> src/java.base/share/classes/java/net/ServerSocket.java line 867: >> >>> 865: * setting of {@link StandardSocketOptions#SO_REUSEADDR >>> SO_REUSEADDR}. >>> 866: * >>> 867: * The behaviour when {@link StandardSocketOptions#SO

Re: RFR: 8329745: Update the documentation of ServerSocket and Socket to refer to StandardSocketOptions instead of legacy SocketOptions [v2]

2024-04-05 Thread Jaikiran Pai
> Can I please get a review of this doc-only changes to java.net.ServerSocket > and java.net.Socket classes? > > As noted in https://bugs.openjdk.org/browse/JDK-8329745, these classes > currently refer to the legacy `java.net.SocketOptions` interface and instead > should be refering to the newe

Re: RFR: 8329745: Update the documentation of ServerSocket and Socket to refer to StandardSocketOptions instead of legacy SocketOptions [v2]

2024-04-05 Thread Alan Bateman
On Fri, 5 Apr 2024 12:06:21 GMT, Jaikiran Pai wrote: >> Can I please get a review of this doc-only changes to java.net.ServerSocket >> and java.net.Socket classes? >> >> As noted in https://bugs.openjdk.org/browse/JDK-8329745, these classes >> currently refer to the legacy `java.net.SocketOpti

Re: RFR: 8329745: Update the documentation of ServerSocket and Socket to refer to StandardSocketOptions instead of legacy SocketOptions [v2]

2024-04-05 Thread Jaikiran Pai
On Fri, 5 Apr 2024 12:19:13 GMT, Alan Bateman wrote: >> Jaikiran Pai has updated the pull request incrementally with one additional >> commit since the last revision: >> >> remove repeated usages of {@link} > > src/java.base/share/classes/java/net/ServerSocket.java line 264: > >> 262: *

Re: RFR: 8329745: Update the documentation of ServerSocket and Socket to refer to StandardSocketOptions instead of legacy SocketOptions [v3]

2024-04-05 Thread Jaikiran Pai
> Can I please get a review of this doc-only changes to java.net.ServerSocket > and java.net.Socket classes? > > As noted in https://bugs.openjdk.org/browse/JDK-8329745, these classes > currently refer to the legacy `java.net.SocketOptions` interface and instead > should be refering to the newe

Re: RFR: 8329745: Update the documentation of ServerSocket and Socket to refer to StandardSocketOptions instead of legacy SocketOptions [v2]

2024-04-05 Thread Jaikiran Pai
On Fri, 5 Apr 2024 12:42:04 GMT, Jaikiran Pai wrote: >> src/java.base/share/classes/java/net/ServerSocket.java line 264: >> >>> 262: * 0 and 65535, inclusive. >>> 263: * >>> 264: * @see StandardSocketOptions >> >> What would you think about dropping this link, and the

Re: RFR: 8329662: Add a test to verify the behaviour of the default HEAD() method on HttpRequest.Builder

2024-04-05 Thread Daniel Fuchs
On Thu, 4 Apr 2024 11:50:32 GMT, Jaikiran Pai wrote: > Can I please get a review of this test-only change which updates an existing > test case to verify the behaviour of `HttpRequest.Builder.HEAD()` method? > > As noted in https://bugs.openjdk.org/browse/JDK-8329662, this test now > verifies

Integrated: 8329662: Add a test to verify the behaviour of the default HEAD() method on HttpRequest.Builder

2024-04-05 Thread Jaikiran Pai
On Thu, 4 Apr 2024 11:50:32 GMT, Jaikiran Pai wrote: > Can I please get a review of this test-only change which updates an existing > test case to verify the behaviour of `HttpRequest.Builder.HEAD()` method? > > As noted in https://bugs.openjdk.org/browse/JDK-8329662, this test now > verifies

Re: RFR: 8329662: Add a test to verify the behaviour of the default HEAD() method on HttpRequest.Builder

2024-04-05 Thread Jaikiran Pai
On Thu, 4 Apr 2024 11:50:32 GMT, Jaikiran Pai wrote: > Can I please get a review of this test-only change which updates an existing > test case to verify the behaviour of `HttpRequest.Builder.HEAD()` method? > > As noted in https://bugs.openjdk.org/browse/JDK-8329662, this test now > verifies

Re: HttpServer performance issue / improvement

2024-04-05 Thread robert engels
Hi Daniel, I think I have a solution that would work. I will try to get a PR together. Do you know if there is an existing test case the demonstrates the issue? - if not, I will start with that. Robert > On Apr 4, 2024, at 9:44 AM, Daniel Jeliński wrote: > > Hi Robert, > Thanks for bringing