----- Original Message -----
From: "Remy Maucherat" <[EMAIL PROTECTED]>
To: "Tomcat Developers List" <[EMAIL PROTECTED]>
Sent: Tuesday, July 20, 2004 8:28 AM
Subject: Re: WebappClassLoader.getURLs Bug!


>Shapira, Yoav wrote:
>> Hi,
>>
>>>Unfortunately, now that I've moved to Tomcat 5, I discover that the bug
>>>is still quite present.  There is now a nice getURI() method along with
>>>the previous getURL() method.  Unfortunately, getURLs() does not use
>>>getURI( file ).toURL() or any such as it would need to for the RMI
>>>runtime's sake (as it calls getURLs()).
>>
>> The getURI method returns a URL object, not a URI object, as the latter
>> is JDK 1.4-only and we still officially support building and running on
>> JDK 1.3.
>
>I agree: you really should be complaining about Sun (who wrote the bad
>URL handling in the first place).
>

I agree that Sun's implementation is brain-dead (who thought that
space-separated list of URLs was A Good Idea? :).

I looked at WACL the last time I got bit by this, but then decided that it
was easier to move the app to a directory w/o spaces than to encode the URLs
(e.g. s/ /%20/).

>Rémy


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


This message is intended only for the use of the person(s) listed above as the 
intended recipient(s), and may contain information that is PRIVILEGED and 
CONFIDENTIAL.  If you are not an intended recipient, you may not read, copy, or 
distribute this message or any attachment. If you received this communication in 
error, please notify us immediately by e-mail and then delete all copies of this 
message and any attachments.

In addition you should be aware that ordinary (unencrypted) e-mail sent through the 
Internet is not secure. Do not send confidential or sensitive information, such as 
social security numbers, account numbers, personal identification numbers and 
passwords, to us via ordinary (unencrypted) e-mail.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to