From Gregory R. Warnes <warnes@biostat.washington.edu>:

* gnu/gcj/protocol/jar/Connection.java (getJarFile): Test for null
	`jarFile', not `jarFileURL'.

From-SVN: r34005
This commit is contained in:
Bryce McKinlay 2000-05-18 23:50:34 +00:00 committed by Bryce McKinlay
parent 2838397ce2
commit c1f76317e4
2 changed files with 5 additions and 1 deletions

View file

@ -59,7 +59,7 @@ public class Connection extends JarURLConnection
if (getUseCaches())
{
jarfile = (JarFile) file_cache.get(jarFileURL);
if (jarFileURL == null)
if (jarFile == null)
{
jarfile = new JarFile (jarFileURL.getFile ());
file_cache.put (jarFileURL, jarfile);