From dd92def3ae19c4f8e9b03cf212560bf533caf62b Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Sun, 17 Jan 2010 10:01:17 +0000 Subject: [PATCH] try to make ZipExtraField change in zip backwards compatible for subclasses that override zipFile. PR 48541 git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@900082 13f79535-47bb-0310-9956-ffa450edef68 --- WHATSNEW | 7 +- build.xml | 2 + .../org/apache/tools/ant/taskdefs/Jar.java | 12 +-- .../org/apache/tools/ant/taskdefs/Zip.java | 78 +++++++++++----- .../tools/ant/taskdefs/ZipExtraFieldTest.java | 92 +++++++++++++++++++ 5 files changed, 161 insertions(+), 30 deletions(-) create mode 100644 src/tests/junit/org/apache/tools/ant/taskdefs/ZipExtraFieldTest.java diff --git a/WHATSNEW b/WHATSNEW index a70370f13..fd4f66d18 100644 --- a/WHATSNEW +++ b/WHATSNEW @@ -9,9 +9,14 @@ Changes that could break older environments: Fixed bugs: ----------- - * now tries earlier to delete the created temporary files. + * now tries to delete the created temporary files earlier. Bugzilla Report 48506. + * the implementation of had been changed in a way that broke + the jarjar links task and protentially other third-party subclasses + as well. + Bugzilla Report 48541. + Other changes: -------------- diff --git a/build.xml b/build.xml index e23723a24..c3ab6575e 100644 --- a/build.xml +++ b/build.xml @@ -1825,6 +1825,8 @@ see ${build.junit.reports} / ${antunit.reports} unless="tests.and.ant.share.classloader"/> +