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: [cp-patches] Patch: FYI: URI fixlet


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


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