classpath-patches
[Top][All Lists]
Advanced

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

RE: [cp-patches] RFC: prevent URL degeneration


From: Mark Wielaard
Subject: RE: [cp-patches] RFC: prevent URL degeneration
Date: Mon, 10 Oct 2005 13:22:02 +0200

Hi Jeroen,

On Mon, 2005-10-10 at 09:38 +0200, Jeroen Frijters wrote:
> I also disagree with it on principle grounds. We should match the JDK in
> cases like this, not try to do the "right thing". It's very easy to
> break applications that depend on the JDK URL implementation and it is
> not reasonable to expect them to be fixed if the JDK is never going to
> get fixed (which I can assure you, it isn't).

I agree that we should be careful not to break applications. But the
fact is that it is a real bug where code expects new URL("user supplied
string representation").toString() to provide a valid URL that
represents the URL the user wanted which can again be used to create a
similar URL (like in the original code Robert found). Maybe it is too
hard to provide a correct fix, but we can at least try to do better.

Cheers,

Mark

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

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