From c1f76317e44bfa2068055ac31b1585d3386cb913 Mon Sep 17 00:00:00 2001 From: Bryce McKinlay Date: Thu, 18 May 2000 23:50:34 +0000 Subject: From Gregory R. Warnes : * gnu/gcj/protocol/jar/Connection.java (getJarFile): Test for null `jarFile', not `jarFileURL'. From-SVN: r34005 --- libjava/gnu/gcj/protocol/jar/Connection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libjava/gnu') diff --git a/libjava/gnu/gcj/protocol/jar/Connection.java b/libjava/gnu/gcj/protocol/jar/Connection.java index 439594e7..4f1a5ec 100644 --- a/libjava/gnu/gcj/protocol/jar/Connection.java +++ b/libjava/gnu/gcj/protocol/jar/Connection.java @@ -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); -- cgit v1.1