RFR: JDK-8291509 Minor cleanup could be done in sun.security [v4]
Weijun Wang
weijun at openjdk.org
Tue Sep 6 18:01:07 UTC 2022
On Fri, 2 Sep 2022 04:16:04 GMT, Mark Powers <mpowers at openjdk.org> wrote:
>> src/java.base/share/classes/sun/security/tools/keytool/Main.java line 3534:
>>
>>> 3532: Object[] source = {alias};
>>> 3533: if (otherKeyPass != null) {
>>> 3534: System.err.println(form.format(source));
>>
>> You can move the line above out as well. It's also the same.
>
> I can't factor them out because one is `println` and the other is `print`.
OK
-------------
PR: https://git.openjdk.org/jdk/pull/9972
More information about the security-dev
mailing list