Re: RFR: JDK-8305206: Add @spec tags in java.base/java.* (part 1) [v2]

2023-03-30 Thread Joe Darcy
On Thu, 30 Mar 2023 20:45:08 GMT, Jonathan Gibbons wrote: >> Please review a change to add `@spec` tags (and remove some equivalent >> `@see` tags) to the main "core-libs" packages in `java.base` module. >> >> This is similar to, and a subset of, PR #11073. That PR was withdrawn, and >> base

Re: RFR: 8305323: Update java/net/httpclient/ContentLengthHeaderTest.java to use new HttpTestServer factory methods

2023-03-30 Thread Jaikiran Pai
On Thu, 30 Mar 2023 19:40:27 GMT, Daniel Fuchs wrote: > The ContentLengthHeaderTest could be refactored to use the new HttpTestServer > factory methods. > I took the opportunity to also run the test over HTTP/2. Looks fine to me. - Marked as reviewed by jpai (Reviewer). PR Revie

Re: RFR: 8305089: Implement missing socket options on AIX [v2]

2023-03-30 Thread Jaikiran Pai
On Thu, 30 Mar 2023 16:42:45 GMT, Varada M wrote: >> src/jdk.net/aix/classes/jdk/net/AIXSocketOptions.java line 38: >> >>> 36: class AIXSocketOptions extends PlatformSocketOptions { >>> 37: >>> 38: public AIXSocketOptions() { >> >> It would be good to make this package private constructor

Re: RFR: JDK-8305206: Add @spec tags in java.base/java.* (part 1) [v2]

2023-03-30 Thread Naoto Sato
On Thu, 30 Mar 2023 20:45:08 GMT, Jonathan Gibbons wrote: >> Please review a change to add `@spec` tags (and remove some equivalent >> `@see` tags) to the main "core-libs" packages in `java.base` module. >> >> This is similar to, and a subset of, PR #11073. That PR was withdrawn, and >> base

Re: RFR: JDK-8305206: Add @spec tags in java.base/java.* (part 1)

2023-03-30 Thread Jonathan Gibbons
On Thu, 30 Mar 2023 17:24:11 GMT, Jonathan Gibbons wrote: > Please review a change to add `@spec` tags (and remove some equivalent `@see` > tags) to the main "core-libs" packages in `java.base` module. > > This is similar to, and a subset of, PR #11073. That PR was withdrawn, and > based on

Re: RFR: JDK-8305206: Add @spec tags in java.base/java.* (part 1) [v2]

2023-03-30 Thread Jonathan Gibbons
> Please review a change to add `@spec` tags (and remove some equivalent `@see` > tags) to the main "core-libs" packages in `java.base` module. > > This is similar to, and a subset of, PR #11073. That PR was withdrawn, and > based on the ensuing discussion and suggestion, is now being handled

Re: RFR: JDK-8305206: Add @spec tags in java.base/java.* (part 1)

2023-03-30 Thread Jonathan Gibbons
On Thu, 30 Mar 2023 19:42:33 GMT, Alan Bateman wrote: >> Please review a change to add `@spec` tags (and remove some equivalent >> `@see` tags) to the main "core-libs" packages in `java.base` module. >> >> This is similar to, and a subset of, PR #11073. That PR was withdrawn, and >> based on

RFR: 8305323: Update java/net/httpclient/ContentLengthHeaderTest.java to use new HttpTestServer factory methods

2023-03-30 Thread Daniel Fuchs
The ContentLengthHeaderTest could be refactored to use the new HttpTestServer factory methods. I took the opportunity to also run the test over HTTP/2. - Commit messages: - 8305323 Changes: https://git.openjdk.org/jdk/pull/13251/files Webrev: https://webrevs.openjdk.org/?repo=jdk

Re: RFR: JDK-8305206: Add @spec tags in java.base/java.* (part 1)

2023-03-30 Thread Alan Bateman
On Thu, 30 Mar 2023 17:24:11 GMT, Jonathan Gibbons wrote: > Please review a change to add `@spec` tags (and remove some equivalent `@see` > tags) to the main "core-libs" packages in `java.base` module. > > This is similar to, and a subset of, PR #11073. That PR was withdrawn, and > based on

RFR: JDK-8305206: Add @spec tags in java.base/java.* (part 1)

2023-03-30 Thread Jonathan Gibbons
Please review a change to add `@spec` tags (and remove some equivalent `@see` tags) to the main "core-libs" packages in `java.base` module. This is similar to, and a subset of, PR #11073. That PR was withdrawn, and based on the ensuing discussion and suggestion, is now being handled with a se

Re: RFR: 8305089: [AIX] Implement missing socket options on AIX [v2]

2023-03-30 Thread Varada M
On Thu, 30 Mar 2023 12:41:26 GMT, Erik Joelsson wrote: >> Please update the copyright year on this file to `2016, 2023, ` > > AIX should be covered by `LIBS_unix := -ljava` as long as that's the only lib > it needs. @erikj79 @jaikiran I do think `LIBS_unix := -ljava` is the library AIX needs.

Re: RFR: 8305089: [AIX] Implement missing socket options on AIX [v2]

2023-03-30 Thread Varada M
On Thu, 30 Mar 2023 11:49:24 GMT, Jaikiran Pai wrote: >> make/modules/jdk.net/Lib.gmk line 30: >> >>> 28: >>> >>> 29: >>> 30: ifeq ($(call isTargetOs, linux macosx windows aix), true) >> >> Hello Varada, I'm not

Re: RFR: 8305089: [AIX] Implement missing socket options on AIX [v2]

2023-03-30 Thread Varada M
On Thu, 30 Mar 2023 11:55:09 GMT, Jaikiran Pai wrote: >> Varada M has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Update to copyright year > > src/jdk.net/aix/classes/jdk/net/AIXSocketOptions.java line 38: > >> 36: class AIXSocketOption

Re: RFR: 8305089: [AIX] Implement missing socket options on AIX [v2]

2023-03-30 Thread Varada M
> Breaking this into two parts : > > 1. Implementing socket options for AIX > 2. DontFragmentTest failure > > - Implementing socket options for AIX : > > Unlike the linux, windows and macOS, AIX uses the default implementation for > socket options such as ipDontFragmentSupported(), > keepAl

Re: RFR: 8305089: [AIX] Implement missing socket options on AIX

2023-03-30 Thread Erik Joelsson
On Thu, 30 Mar 2023 06:39:57 GMT, Varada M wrote: > Breaking this into two parts : > > 1. Implementing socket options for AIX > 2. DontFragmentTest failure > > - Implementing socket options for AIX : > > Unlike the linux, windows and macOS, AIX uses the default implementation for > socket

Re: RFR: 8305089: [AIX] Implement missing socket options on AIX

2023-03-30 Thread Erik Joelsson
On Thu, 30 Mar 2023 11:49:24 GMT, Jaikiran Pai wrote: >> make/modules/jdk.net/Lib.gmk line 30: >> >>> 28: >>> >>> 29: >>> 30: ifeq ($(call isTargetOs, linux macosx windows aix), true) >> >> Hello Varada, I'm not

Re: RFR: 8305089: [AIX] Implement missing socket options on AIX

2023-03-30 Thread Erik Joelsson
On Thu, 30 Mar 2023 06:39:57 GMT, Varada M wrote: > Breaking this into two parts : > > 1. Implementing socket options for AIX > 2. DontFragmentTest failure > > - Implementing socket options for AIX : > > Unlike the linux, windows and macOS, AIX uses the default implementation for > socket

Re: RFR: 8305089: [AIX] Implement missing socket options on AIX

2023-03-30 Thread Jaikiran Pai
On Thu, 30 Mar 2023 06:39:57 GMT, Varada M wrote: > Breaking this into two parts : > > 1. Implementing socket options for AIX > 2. DontFragmentTest failure > > - Implementing socket options for AIX : > > Unlike the linux, windows and macOS, AIX uses the default implementation for > socket

Re: RFR: 8305089: [AIX] Implement missing socket options on AIX

2023-03-30 Thread Jaikiran Pai
On Thu, 30 Mar 2023 06:39:57 GMT, Varada M wrote: > Breaking this into two parts : > > 1. Implementing socket options for AIX > 2. DontFragmentTest failure > > - Implementing socket options for AIX : > > Unlike the linux, windows and macOS, AIX uses the default implementation for > socket

Re: RFR: 8305089: [AIX] Implement missing socket options on AIX

2023-03-30 Thread Jaikiran Pai
On Thu, 30 Mar 2023 11:47:50 GMT, Jaikiran Pai wrote: >> Breaking this into two parts : >> >> 1. Implementing socket options for AIX >> 2. DontFragmentTest failure >> >> - Implementing socket options for AIX : >> >> Unlike the linux, windows and macOS, AIX uses the default implementation fo