code: protected void clearJars()
    {
      synchronized (this) {
        ArrayList<JarEntry> jars = new ArrayList<JarEntry>(_jarList);
        _jarList.clear();
  
        if (_pathMap != null)
          _pathMap.clear();
      
        for (int i = 0; i < jars.size(); i++) {
          JarEntry jarEntry = jars.get(i);
  
          JarPath jarPath = jarEntry.getJarPath();
  
          jarPath.closeJar();
        }
      }
    }
docs: Closes the jars.