ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [DO NOT REPLY: Bug 3166] New: Cannot compile with jdk < 1.2
Date Sun, 19 Aug 2001 21:50:15 GMT
PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3166

*** shadow/3166	Sun Aug 19 14:50:15 2001
--- shadow/3166.tmp.15528	Sun Aug 19 14:50:15 2001
***************
*** 0 ****
--- 1,35 ----
+ +============================================================================+
+ | Cannot compile with jdk < 1.2                                              |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 3166                        Product: Ant                     |
+ |       Status: NEW                         Version: 1.1                     |
+ |   Resolution:                            Platform: Sun                     |
+ |     Severity: Normal                   OS/Version: Other                   |
+ |     Priority: Other                     Component: Build Process           |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: ant-dev@jakarta.apache.org                                   |
+ |  Reported By: cballance@ets.org                                            |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ The Vector class doesn't have an add() method in 1.1.
+ Change needs to be made to 
+ /src/main/org/apache/tools/ant/taskdefs/DependSet.java
+ on two lines where allTargets.add(...) is called to
+ allTargets.addElement(...)
+ 
+ build messages follow:
+ ... Bootstrapping Ant Distribution                                              
+ ... Compiling Ant Classes                                                       
+ src/main/org/apache/tools/ant/taskdefs/DependSet.java:190: Method add(java.io.Fi
+ le) not found in class java.util.Vector.                                        
+               allTargets.add(dest);                                             
+                             ^                                                   
+ src/main/org/apache/tools/ant/taskdefs/DependSet.java:218: Method add(java.io.Fi
+ le) not found in class java.util.Vector.                                        
+                  allTargets.add(dest);                                          
+                                ^                                                
+ Note: 10 files use deprecated APIs.  Recompile with "-deprecation" for details. 
+ 2 errors, 1 warning

Mime
View raw message