[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch: convert protocol to lower case in constructor
From: |
Mark Wielaard |
Subject: |
Re: Patch: convert protocol to lower case in constructor |
Date: |
Sun, 04 Jul 2004 14:01:23 +0200 |
Hi,
On Sat, 2004-07-03 at 16:12, Anthony Green wrote:
> Here's the first of a few patches I used while getting Eclipse to
> start up. Ok for HEAD (and Classpath)?
>
> 2004-07-03 Anthony Green <address@hidden>
>
> * java/net/URL.java (URL): Convert protocol to lower case before
> doing anything, so we getURLStreamHandler() with the proper value.
Thanks. I have already committed it to GNU Classpath as part of the
cleanup for the 0.10 snapshot release candidate.
BTW. Please send patch proposals for GNU Classpath to
address@hidden (CCed).
> Index: java/net/URL.java
> ===================================================================
> RCS file: /cvs/gcc/gcc/libjava/java/net/URL.java,v
> retrieving revision 1.37
> diff -c -u -p -r1.37 URL.java
> --- java/net/URL.java 3 May 2004 20:23:26 -0000 1.37
> +++ java/net/URL.java 3 Jul 2004 14:08:17 -0000
> @@ -262,7 +262,8 @@ public final class URL implements Serial
> {
> if (protocol == null)
> throw new MalformedURLException("null protocol");
> - this.protocol = protocol.toLowerCase();
> + protocol = protocol.toLowerCase();
> + this.protocol = protocol;
>
> if (ph != null)
> {
>
signature.asc
Description: This is a digitally signed message part
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Patch: convert protocol to lower case in constructor,
Mark Wielaard <=