public void initialize(LaunchDesc paramLaunchDesc) { ResourcesDesc localResourcesDesc = paramLaunchDesc.getResources(); if (localResourcesDesc != null) { JNLPUtils.sortResourcesForClasspath( localResourcesDesc, this._jarsInURLClassLoader, this._jarsNotInURLClassLoader); for (int i = 0; i < this._jarsInURLClassLoader.size(); i++) { JARDesc localJARDesc = (JARDesc) this._jarsInURLClassLoader.get(i); addURL(localJARDesc.getLocation()); } } }
public void preverifyJARs() { if (!ResourceProvider.get().canCache(null)) return; long l1 = System.currentTimeMillis(); for (int i = 0; i < this._jarsInURLClassLoader.size(); i++) { JARDesc localJARDesc = (JARDesc) this._jarsInURLClassLoader.get(i); ResourceProvider.get() .preverifyCachedJar(localJARDesc.getLocation(), localJARDesc.getVersion(), this); } long l2 = System.currentTimeMillis(); Trace.println( "PreverificationCL, Cached JAR preverification took (ms): " + (l2 - l1), TraceLevel.CACHE); }