RFR: 8261513: Various BasicConstraintsExtension issues [v4]
Artur Barashev
abarashev at openjdk.org
Fri Nov 7 17:31:09 UTC 2025
On Fri, 21 Feb 2025 16:40:08 GMT, Ben Perez <bperez at openjdk.org> wrote:
>> 8261513: Various BasicConstraintsExtension issues
>
> Ben Perez has updated the pull request incrementally with one additional commit since the last revision:
>
> changed toString wording, no longer set critical to ca
src/java.base/share/classes/sun/security/x509/BasicConstraintsExtension.java line 196:
> 194:
> 195: public int getPathLen() {
> 196: return (pathLen < 0) ? Integer.MAX_VALUE : Integer.valueOf(pathLen);
Why are we converting `pathLen` to `Integer` when the return type is `int`?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/20224#discussion_r2504710264
More information about the security-dev
mailing list