This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [cp-patches] Patch: FYI: URI fixlet
- From: Michael Koch <konqueror at gmx dot de>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: Java Patch List <java-patches at gcc dot gnu dot org>, classpath-patches at gnu dot org
- Date: Wed, 9 Feb 2005 08:47:08 +0100
- Subject: Re: [cp-patches] Patch: FYI: URI fixlet
- References: <m3u0omxx5z.fsf@localhost.localdomain>
On Tue, Feb 08, 2005 at 07:52:08PM -0700, Tom Tromey wrote:
> I'm checking this in to libgcj and classpath.
>
> This fixes a bug in URI. The user and port parts of the authority
> are optional. I think this used to "work" but a recent bug fix to
> regex broke it.
>
> I've checked in a test case to Mauve. We don't pass all the URI tests
> (and I'm not sure if we ever did), but with this we do a little
> better. As was pointed out recently, our URI implementation needs a
> lot of love.
>
> Tom
>
> Index: ChangeLog
> from Tom Tromey <tromey@redhat.com>
> * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
> name or port is missing.
> (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
> AUTHORITY_PORT_GROUP): Updated.
This was my latest bugfix to the URI stuff then as I added the
AUTHORITY_REGEXP and all needed stuff. Please accept my apologies.
Michael