On Fri, 27 Oct 2023 20:12:44 GMT, Hai-May Chao <hc...@openjdk.org> wrote:

>> Please review the enhancement for JDK-8311596 and its CSR JDK-8313236. Thank 
>> you.
>
> Hai-May Chao has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Change maxCertificateChainLength to be a local variable

src/java.base/share/classes/sun/security/ssl/SSLConfiguration.java line 178:

> 176:          * the jdk.tls.maxCertificateChainLength property will not 
> override
> 177:          * the values.
> 178:          */

English is not my native language, but I have some comment on the wording. 
Normally we don't say `maxCertificateChainLength` overrides 
`maxInboundCertificateChainLength`. In fact, it is 
`maxInboundCertificateChainLength` that _overrides_ 
`maxCertificateChainLength`. When `maxInboundCertificateChainLength` is not 
set, it _fallbacks_ to `maxCertificateChainLength` (if set) or a _default_ 
value (8).

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15163#discussion_r1375008699

Reply via email to