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:
parent
2838397ce2
commit
c1f76317e4
2 changed files with 5 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue