This is the mail archive of the java-patches@gcc.gnu.org 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]
Other format: [Raw text]

Re: Patch: fix URL.sameFile()


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Sonntag, 8. Juni 2003 17:27 schrieb Anthony Green:
> mauve's UTLTest.test_sameFile() used to fail when comparing these
> URLs..
>
> 	http://sources.redhat.com/mauve/testarea/index.html
> 	http://sources.redhat.com:80/mauve/testarea/index.html
>
> ..because the port numbers are "different".  URL.getPort() for the
> first URL is -1, which is supposed to always represent the protocol
> specific default.  This patch makes URL.sameFile() sensitive to
> this, and adds the missing getDefaultPort() method on our http
> Handler class.
>
> Ok? (and similarly for GNU Classpath - but savannah appears to be
> down)

I would say its okay, but wait for Tom's approval.


Michael
- -- 
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+41edWSOgCCdjSDsRAtfCAJ9utsH1GimpShFFvgqOLQ9yI+g6AACgh5g7
sWIbqr1F9dF1h0ZFyHU44qg=
=wOnP
-----END PGP SIGNATURE-----


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