On 08/22/2012 02:30 PM, Nicolas Lalevée wrote:
I could not think we can put 4 slashes
file:server/share/path is the broken result of new File("server\\share\\path").toURI(). While new File(URI) works to round-trip it (IIRC), if you call
URI.normalize() or otherwise do any kind of inter
Le 22 août 2012 à 20:07, Jesse Glick a écrit :
>> As far I understand, such path reference some file on a remote computer. But
>> then why the host part of the URI being build is left to null?
>
> Line #3059 (JDK 7) would not be executed for a UNC path because you would
> have file://server/sha
On 08/22/2012 08:50 AM, Nicolas Lalevée wrote:
Don't understand the encoding issue there, since we are manipulating Strings.
But String's which represent pathnames on an OS which might natively represent pathnames as octet sequences in some encoding. Again I am not sure what the defining
examp
Le 22 août 2012 à 00:04, Jesse Glick a écrit :
> On 08/21/2012 03:13 PM, Nicolas Lalevée wrote:
>> Or is there some code which rely on the broken behavior?
>
> Not that I know of. See the various commented-out code blocks and "XXX"
> comments in this class; it has a long and messy history. I do
On 08/21/2012 03:13 PM, Nicolas Lalevée wrote:
Or is there some code which rely on the broken behavior?
Not that I know of. See the various commented-out code blocks and "XXX" comments in this class; it has a long and messy history. I do not know whether the current code
successfully works aro
On 08/21/2012 03:41 PM, Martin Gainty wrote:
Make sure you catch
IllegalArgumentException - If this URL is not absolute
Should never happen in this case.
MalformedURLException - If a protocol handler for the URL could not be found,
or if some other error occurred while constructing
Good Evening Nicolas
If you can demonstrate the Ant task fails before and then a successful
implementation (running the same Testcase) after applying the patch then +1 for
implementing the patch
Nota Bene:Make sure you catch
IllegalArgumentException - If this URL is not absolute
MalformedURLE