IDEMPIERE-3938 Remove use of "sun.boot.class.path" in ZipUtil

This commit is contained in:
Heng Sin Low 2019-03-28 17:01:57 +08:00
parent c569349f5b
commit d5bdd63178
1 changed files with 0 additions and 10 deletions

View File

@ -400,16 +400,6 @@ public class ZipUtil
if (pathEntries[i].indexOf(jarFile) != -1) if (pathEntries[i].indexOf(jarFile) != -1)
return pathEntries[i]; return pathEntries[i];
} }
path = System.getProperty("sun.boot.class.path");
if (path == null)
return null;
pathEntries = path.split(System.getProperty("path.separator"));
for (int i = 0; i < pathEntries.length; i++)
{
// System.out.println(pathEntries[i]);
if (pathEntries[i].indexOf(jarFile) != -1)
return pathEntries[i];
}
return null; return null;
} // findInPath } // findInPath