RFR: JDK-8291509 Minor cleanup could be done in sun.security [v8]
Mark Powers
mpowers at openjdk.org
Wed Sep 14 21:40:12 UTC 2022
On Wed, 14 Sep 2022 19:52:34 GMT, Weijun Wang <weijun at openjdk.org> wrote:
>> Mark Powers has updated the pull request incrementally with one additional commit since the last revision:
>>
>> final comments from Max
>
> src/java.base/share/classes/sun/security/provider/certpath/ForwardBuilder.java line 572:
>
>> 570: if (distanceTto1 < 0 || distanceTto2 < 0) {
>> 571: if (distanceTto1 == distanceTto2) {
>> 572: return -1;
>
> This block can be modified like the previous one. This time it's about "at least one is negative".
Fixed.
-------------
PR: https://git.openjdk.org/jdk/pull/9972
More information about the security-dev
mailing list