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 22705] - ant 1.6alpha (and possibly earlier) requires JDK 1.4
Date Mon, 25 Aug 2003 20:26:00 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22705>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

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

ant 1.6alpha (and possibly earlier) requires JDK 1.4





------- Additional Comments From ers@wildfire.com  2003-08-25 20:25 -------
% ant -version
Apache Ant version 1.6alpha compiled on April 25 2003
%
% java version "1.3.1_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_07-b02)
Java HotSpot(TM) Client VM (build 1.3.1_07-b02, mixed mode)

In response to Dominique's comment, yes StringBuffer#append(Object) does exist, 
but if ant was compiled under JDK 1.4, the compiler would have resolved the 
call on line 123 to StringBuffer#append(StringBuffer). If the result is then 
run against JDK 1.3.x, and the latter method cannot be located, I don't believe 
that the runtime will fall back to using the more generic method (someone with 
more detailed Java knowledge than mine may want to correct me here). I've run a 
simple test case that seems to confirm this.

I'm not sure why the name of the missing method is not being printed.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message