On Fri, 21 Feb 2025 16:40:08 GMT, Ben Perez <[email protected]> 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