From: Brian Z. <bz...@us...> - 2005-06-03 03:23:24
|
Update of /cvsroot/jython/jython/org/python/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23074/org/python/core Modified Files: CachedJarsPackageManager.java Log Message: don't reuse a cachefile path if it does not exist; patch #1205206 Index: CachedJarsPackageManager.java =================================================================== RCS file: /cvsroot/jython/jython/org/python/core/CachedJarsPackageManager.java,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** CachedJarsPackageManager.java 7 Dec 2001 12:54:11 -0000 1.11 --- CachedJarsPackageManager.java 3 Jun 2005 03:23:14 -0000 1.12 *************** *** 233,237 **** entry = (JarXEntry)jarfiles.get(jarcanon); ! if (entry == null && cache) { message("processing new jar, '"+ jarcanon+"'"); --- 233,237 ---- entry = (JarXEntry)jarfiles.get(jarcanon); ! if ((entry == null || !(new File(entry.cachefile).exists())) && cache) { message("processing new jar, '"+ jarcanon+"'"); |