Browse Source

no longer complain when not finding tools.jar

People using the JRE won't have it and it has been removed from
OpenJDK with Java 9, it seems.
master
Stefan Bodewig 4 years ago
parent
commit
6c3d7de934
2 changed files with 6 additions and 2 deletions
  1. +6
    -0
      WHATSNEW
  2. +0
    -2
      src/main/org/apache/tools/ant/launch/Locator.java

+ 6
- 0
WHATSNEW View File

@@ -15,6 +15,12 @@ Fixed bugs:
surrogate pairs (and likely other edge cases as well).
Bugzilla Report 40455

Other changes:
--------------

* Ant will no longer log a warning if it doesn't find tools.jar
Bugzilla Report 63577

Changes from Ant 1.10.7 TO Ant 1.10.8
=====================================



+ 0
- 2
src/main/org/apache/tools/ant/launch/Locator.java View File

@@ -380,8 +380,6 @@ public final class Locator {
toolsJar = new File(javaHome + libToolsJar);
}
if (!toolsJar.exists()) {
System.out.println("Unable to locate tools.jar. "
+ "Expected to find it in " + toolsJar.getPath());
return null;
}
return toolsJar;


Loading…
Cancel
Save