Browse Source

PR:39027 Request to change 1.5 check to java.net.Proxy for compatibility with GNU Classpath.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@388909 13f79535-47bb-0310-9956-ffa450edef68
master
Jacobus Martinus Kruithof 19 years ago
parent
commit
dcd356a92b
2 changed files with 6 additions and 1 deletions
  1. +5
    -0
      WHATSNEW
  2. +1
    -1
      src/main/org/apache/tools/ant/util/JavaEnvUtils.java

+ 5
- 0
WHATSNEW View File

@@ -197,6 +197,11 @@ Fixed bugs:

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


+ 1
- 1
src/main/org/apache/tools/ant/util/JavaEnvUtils.java View File

@@ -101,7 +101,7 @@ public final class JavaEnvUtils {
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");


Loading…
Cancel
Save