ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From k...@apache.org
Subject svn commit: r486032 - /ant/core/trunk/src/main/org/apache/tools/ant/util/JavaEnvUtils.java
Date Tue, 12 Dec 2006 05:18:34 GMT
Author: kevj
Date: Mon Dec 11 21:18:34 2006
New Revision: 486032

URL: http://svn.apache.org/viewvc?view=rev&rev=486032
Log:
- java.util.Service moved to java.util.ServiceLoader in Java6 final

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

Modified: ant/core/trunk/src/main/org/apache/tools/ant/util/JavaEnvUtils.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/util/JavaEnvUtils.java?view=diff&rev=486032&r1=486031&r2=486032
==============================================================================
--- 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 Mon Dec 11 21:18:34
2006
@@ -105,7 +105,7 @@
             Class.forName("java.net.Proxy");
             javaVersion = JAVA_1_5;
             javaVersionNumber++;
-            Class.forName("java.util.Service");
+            Class.forName("java.util.ServiceLoader");
             javaVersion = JAVA_1_6;
             javaVersionNumber++;
         } catch (Throwable t) {



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


Mime
View raw message