View | Details | Raw Unified | Return to bug 59130
Collapse All | Expand All

(-)a/WHATSNEW (+4 lines)
Lines 56-61 Fixed bugs: Link Here
56
 * Ant fails to run if ANT_HOME contains a double-quote character.
56
 * Ant fails to run if ANT_HOME contains a double-quote character.
57
   Bugzilla Report 58874
57
   Bugzilla Report 58874
58
58
59
 * Definer's way to parse URLs from classloader breaks with
60
   recent Java 9 builds (b108).
61
   Bugzilla Report 59130
62
59
Other changes:
63
Other changes:
60
--------------
64
--------------
61
65
(-)a/src/main/org/apache/tools/ant/taskdefs/Definer.java (-2 / +1 lines)
Lines 256-262 public abstract class Definer extends DefBase { Link Here
256
                URL url = urls.nextElement();
256
                URL url = urls.nextElement();
257
257
258
                int fmt = this.format;
258
                int fmt = this.format;
259
                if (url.toString().toLowerCase(Locale.ENGLISH).endsWith(".xml")) {
259
                if (url.getPath().toLowerCase(Locale.ENGLISH).endsWith(".xml")) {
260
                    fmt = Format.XML;
260
                    fmt = Format.XML;
261
                }
261
                }
262
262
263
- 

Return to bug 59130