This is the mail archive of the java-patches@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Patch: gnu.gcj.protocol.jar.Connection


I checked in this patch.

regards

  [ bryce ]

2000-05-18  Bryce McKinlay  <bryce@albatross.co.nz>

	From Gregory R. Warnes <warnes@biostat.washington.edu>:
	* gnu/gcj/protocol/jar/Connection.java (getJarFile): Test for null
	`jarFile', not `jarFileURL'.

Index: gnu/gcj/protocol/jar/Connection.java
===================================================================
RCS file: /cvs/java/libgcj/libjava/gnu/gcj/protocol/jar/Connection.java,v
retrieving revision 1.3
diff -u -r1.3 Connection.java
--- Connection.java	2000/03/07 19:55:25	1.3
+++ Connection.java	2000/05/18 23:48:23
@@ -59,7 +59,7 @@
 	if (getUseCaches())
 	  {
 	    jarfile = (JarFile) file_cache.get(jarFileURL);
-	    if (jarFileURL == null)
+	    if (jarFile == null)
 	      {
 		jarfile = new JarFile (jarFileURL.getFile ());
 		file_cache.put (jarFileURL, jarfile);

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]