8281175: Add a -providerPath option to jarsigner

Reviewed-by: xuelei, hchao
This commit is contained in:
Weijun Wang 2022-02-07 15:05:30 +00:00
parent a0f6f2409e
commit 2ed1f4cf32
4 changed files with 33 additions and 18 deletions

View file

@ -824,9 +824,7 @@ public final class Main {
if (providerClasses != null) {
ClassLoader cl = null;
if (pathlist != null) {
String path = null;
path = PathList.appendPath(
path, System.getProperty("java.class.path"));
String path = System.getProperty("java.class.path");
path = PathList.appendPath(
path, System.getProperty("env.class.path"));
path = PathList.appendPath(path, pathlist);