bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/22725] wrong comparison in file protocol handler


From: gcc-bugzilla at gcc dot gnu dot org
Subject: [Bug classpath/22725] wrong comparison in file protocol handler
Date: 16 Oct 2005 01:26:48 -0000

cvs version 1.25 of java/net/URL.java line 514 of function getFile says: return
file == null ? "" : file;
cvs version 1.13 of gnu/java/net/protocol/file/Handler.java line 141 says:
boolean needContext = url.getFile() != null;
Since getFile can not return a null this appears to be an error to me.


------- Comment #1 from from-classpath at savannah dot gnu dot org  2004-03-12 
12:37 -------
Michael could you take a look at this one?


------- Comment #2 from from-classpath at savannah dot gnu dot org  2004-04-30 
06:46 -------
This code was removed from gnu/java/net/protocol/file/Handler.java in revision
1.15.
So the issue should be closed.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22725





reply via email to

[Prev in Thread] Current Thread [Next in Thread]