I'm looking for the problem that is resolved by commit r531340 .
This commit introduced two bugs,
http://issues.apache.org/bugzilla/show_bug.cgi?id=42227
http://issues.apache.org/bugzilla/show_bug.cgi?id=42222
I'm trying to fix these bugs, but would like to know which failing usecase
was resolved by the commit.
Regards, Jan
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 23, 2007 7:53 AM
Subject: svn commit: r531340 -
/ant/core/trunk/src/main/org/apache/tools/ant/launch/Locator.java
Author: kevj
Date: Sun Apr 22 22:52:59 2007
New Revision: 531340
URL: http://svn.apache.org/viewvc?view=rev&rev=531340
Log:
-fix problem with windows file uris (stupid "Documents and Settings"
bloody folder)
Modified:
ant/core/trunk/src/main/org/apache/tools/ant/launch/Locator.java
Modified: ant/core/trunk/src/main/org/apache/tools/ant/launch/Locator.java
URL:
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/launch/Locator.java?view=diff&rev=531340&r1=531339&r2=531340
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/launch/Locator.java
(original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/launch/Locator.java Sun
Apr 22 22:52:59 2007
@@ -159,7 +159,7 @@
try {
java.lang.reflect.Method createMethod
= uriClazz.getMethod("create", new Class[]
{String.class});
- Object uriObj = createMethod.invoke(null, new Object[]
{uri});
+ Object uriObj = createMethod.invoke(null, new Object[]
{encodeURI(uri)});
java.lang.reflect.Constructor fileConst
= File.class.getConstructor(new Class[] {uriClazz});
File f = (File) fileConst.newInstance(new Object[]
{uriObj});
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]