public static void clearJarCache(){
  LruCache<PathImpl,Jar> jarCache=_jarCache;
  if (jarCache == null)   return;
  ArrayList<Jar> jars=new ArrayList<Jar>();
synchronized (jarCache) {
    Iterator<Jar> iter=jarCache.values();
    while (iter.hasNext())     jars.add(iter.next());
  }
  for (int i=0; i < jars.size(); i++) {
    Jar jar=jars.get(i);
    if (jar != null)     jar.clearCache();
  }
}

public static void clearJarCache ( ) { LruCache < PathImpl , Jar > jarCache = _jarCache ; if ( jarCache == null ) return ; ArrayList < Jar > jars = new ArrayList < Jar > ( ) ; synchronized ( jarCache ) { Iterator < Jar > iter = jarCache . values ( ) ; while ( iter . hasNext ( ) ) jars . add ( iter . next ( ) ) ; } for ( int i = 0 ; i < jars . size ( ) ; i ++ ) { Jar jar = jars . get ( i ) ; if ( jar != null ) jar . clearCache ( ) ; } }
clears all the cached files in the jar . needed to avoid some windows nt issues .
