ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r388909 - in /ant/core/trunk: WHATSNEW src/main/org/apache/tools/ant/util/JavaEnvUtils.java
Date Sun, 26 Mar 2006 14:04:54 GMT
Author: jkf
Date: Sun Mar 26 06:04:54 2006
New Revision: 388909

URL: http://svn.apache.org/viewcvs?rev=388909&view=rev
Log:
PR:39027 Request to change 1.5 check to java.net.Proxy for compatibility with GNU Classpath.

Modified:
    ant/core/trunk/WHATSNEW
    ant/core/trunk/src/main/org/apache/tools/ant/util/JavaEnvUtils.java

Modified: ant/core/trunk/WHATSNEW
URL: http://svn.apache.org/viewcvs/ant/core/trunk/WHATSNEW?rev=388909&r1=388908&r2=388909&view=diff
==============================================================================
--- ant/core/trunk/WHATSNEW (original)
+++ ant/core/trunk/WHATSNEW Sun Mar 26 06:04:54 2006
@@ -197,6 +197,11 @@
 
 Other changes:
 --------------
+* Improve compatibility with GNU Classpath and java versions prior to 1.5. Bugzilla 39027.
+
+* ${ant.core.lib} may now be used to refer to the library containing the
+  Ant classes, for instance useful when compiling tasks.
+
 * Minor performance improvements Bugzilla report 37777
 
 * New task <manifestclasspath> converts a path into a property

Modified: ant/core/trunk/src/main/org/apache/tools/ant/util/JavaEnvUtils.java
URL: http://svn.apache.org/viewcvs/ant/core/trunk/src/main/org/apache/tools/ant/util/JavaEnvUtils.java?rev=388909&r1=388908&r2=388909&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/util/JavaEnvUtils.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/util/JavaEnvUtils.java Sun Mar 26 06:04:54
2006
@@ -101,7 +101,7 @@
             Class.forName("java.lang.CharSequence");
             javaVersion = JAVA_1_4;
             javaVersionNumber++;
-            Class.forName("java.lang.Readable");
+            Class.forName("java.net.Proxy");
             javaVersion = JAVA_1_5;
             javaVersionNumber++;
             Class.forName("java.util.Service");



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message