Browse Source

running junitreport several times, issues with closing URLResource, bugzilla report 40595

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@450863 13f79535-47bb-0310-9956-ffa450edef68
master
Antoine Levy-Lambert 18 years ago
parent
commit
f1c84aeb99
4 changed files with 7 additions and 1 deletions
  1. +1
    -0
      CONTRIBUTORS
  2. +2
    -0
      WHATSNEW
  3. +4
    -0
      contributors.xml
  4. +0
    -1
      src/main/org/apache/tools/ant/types/resources/URLResource.java

+ 1
- 0
CONTRIBUTORS View File

@@ -96,6 +96,7 @@ Irene Rusman
Ivan Ivanov Ivan Ivanov
Jack J. Woehr Jack J. Woehr
James Duncan Davidson James Duncan Davidson
Jan Cumps
Jan Matèrne Jan Matèrne
Jan Mynarik Jan Mynarik
Jason Hunter Jason Hunter


+ 2
- 0
WHATSNEW View File

@@ -22,6 +22,8 @@ Fixed bugs:


* URLResource did not close jar files, and also did not disconnect HTTPConnection (s). * URLResource did not close jar files, and also did not disconnect HTTPConnection (s).


* error calling junitreport. Bugzilla 40595.

* <junittask/> created junitvmwatcher*.properties files but did not close and delete them. * <junittask/> created junitvmwatcher*.properties files but did not close and delete them.


* <xmlproperty> did not create properties for empty leaf elements. * <xmlproperty> did not create properties for empty leaf elements.


+ 4
- 0
contributors.xml View File

@@ -398,6 +398,10 @@
<first>Jan</first> <first>Jan</first>
<last>Mat&#232;rne</last> <last>Mat&#232;rne</last>
</name> </name>
<name>
<first>Jan</first>
<last>Cumps</last>
</name>
<name> <name>
<first>Jan</first> <first>Jan</first>
<last>Mynarik</last> <last>Mynarik</last>


+ 0
- 1
src/main/org/apache/tools/ant/types/resources/URLResource.java View File

@@ -361,7 +361,6 @@ public class URLResource extends Resource {
* @throws Throwable on error. * @throws Throwable on error.
*/ */
protected void finalize() throws Throwable { protected void finalize() throws Throwable {
close();
conn = null; conn = null;
super.finalize(); super.finalize();
} }


Loading…
Cancel
Save