Browse Source

Keep track of fixes

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273765 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 22 years ago
parent
commit
2c77b2df1b
2 changed files with 13 additions and 4 deletions
  1. +8
    -1
      WHATSNEW
  2. +5
    -3
      src/main/org/apache/tools/ant/taskdefs/Ant.java

+ 8
- 1
WHATSNEW View File

@@ -75,9 +75,16 @@ Fixed bugs:

* random component of temporary files is now always a positive integer.

* Fix <ilasm> outputfile tetsing so that the output file does not need
* Fix <ilasm> outputfile testing so that the output file does not need
to exist beforehand.

* Ant could incorrectly try to use the 1.4 regexp implementation even
if it isn't available if you run the JVM with -Xverify:none.

* Ant would die with an exception if you used nested <reference>
elements in Ant and the refid attribute didn't point to an existing
project reference.

Other changes:
--------------
* The filesetmanifest attribute of <jar> has been reenabled.


+ 5
- 3
src/main/org/apache/tools/ant/taskdefs/Ant.java View File

@@ -467,11 +467,13 @@ public class Ant extends Task {
*/
private void copyReference(String oldKey, String newKey) {
Object orig = getProject().getReference(oldKey);
if( orig==null ) {
log( "No object referenced by " + oldKey + ". Can't copy to " + newKey,
Project.MSG_WARN);
if (orig == null) {
log("No object referenced by " + oldKey + ". Can't copy to "
+ newKey,
Project.MSG_WARN);
return;
}

Class c = orig.getClass();
Object copy = orig;
try {


Loading…
Cancel
Save