RFR: 8281175: Add a -providerPath option to jarsigner

Weijun Wang weijun at openjdk.java.net
Thu Feb 3 18:29:12 UTC 2022


On Thu, 3 Feb 2022 18:03:48 GMT, Xue-Lei Andrew Fan <xuelei at openjdk.org> wrote:

>> Add the `-providerPath` option to jarsigner to be consistent with keytool.
>
> src/jdk.jartool/share/classes/sun/security/tools/jarsigner/Main.java line 256:
> 
>> 254:                     String path = null;
>> 255:                     path = PathList.appendPath(
>> 256:                             path, System.getProperty("java.class.path"));
> 
> Is it more straightforward to use "String path = System.getProperty(...)", by combining line 254 and 255?

Seems so. I'll fix it.

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

PR: https://git.openjdk.java.net/jdk/pull/7338



More information about the security-dev mailing list