RFR: 8317431: Implement simpler Comparator when building certification paths [v2]

Sean Mullan mullan at openjdk.org
Thu Jan 11 17:31:40 UTC 2024


On Thu, 11 Jan 2024 14:36:46 GMT, Weijun Wang <weijun at openjdk.org> wrote:

>> Sean Mullan has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Add more comments. Remove unnecessary import.
>
> src/java.base/share/classes/sun/security/provider/certpath/ForwardBuilder.java line 585:
> 
>> 583:         }
>> 584: 
>> 585:         return issuer.size() - anchorRdns.subList(0, i).size();
> 
> Is it exactly `issuer.size() - i`?

Yes.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/17248#discussion_r1449179288



More information about the security-dev mailing list