This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
youys
/
ant
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
1
Code
Releases
0
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
fix for bad URL parsing code by Uwe Schindler
https://bz.apache.org/bugzilla/show_bug.cgi?id=59130
master
Stefan Bodewig
9 years ago
parent
49f24c8711
commit
aeed1d84d3
2 changed files
with
5 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
WHATSNEW
+1
-1
src/main/org/apache/tools/ant/taskdefs/Definer.java
+ 4
- 0
WHATSNEW
View File
@@ -56,6 +56,10 @@ Fixed bugs:
* Ant fails to run if ANT_HOME contains a double-quote character.
Bugzilla Report 58874
* Definer's way to parse URLs from classloader breaks with
recent Java 9 builds (b108).
Bugzilla Report 59130
Other changes:
--------------
+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/Definer.java
View File
@@ -256,7 +256,7 @@ public abstract class Definer extends DefBase {
URL url = urls.nextElement();
int fmt = this.format;
if (url.
toString
().toLowerCase(Locale.ENGLISH).endsWith(".xml")) {
if (url.
getPath
().toLowerCase(Locale.ENGLISH).endsWith(".xml")) {
fmt = Format.XML;
}
Write
Preview
Loading…
Cancel
Save