bug-classpath
[Top][All Lists]
Advanced

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

[Bug classpath/28486] java.net.URL.equals ignores a default port number


From: tromey at gcc dot gnu dot org
Subject: [Bug classpath/28486] java.net.URL.equals ignores a default port number
Date: 27 Jul 2006 14:34:06 -0000


------- Comment #3 from tromey at gcc dot gnu dot org  2006-07-27 14:34 -------
I looked at this a bit.

Fixing URLStreamHandler.equals to detect default ports is easy.
However our URL will still have an incorrect "authority" --
in one case like "foo:80" and the other case "foo".
So, the test case will still fail.  I haven't yet looked into why this happens.


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-07-27 14:34:06
               date|                            |


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





reply via email to

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