Return-Path: Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 35609 invoked by uid 500); 26 Aug 2003 01:50:04 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 35592 invoked from network); 26 Aug 2003 01:50:04 -0000 Received: from unknown (HELO exchange.sun.com) (192.18.33.10) by daedalus.apache.org with SMTP; 26 Aug 2003 01:50:04 -0000 Received: (qmail 4415 invoked by uid 50); 25 Aug 2003 20:26:00 -0000 Date: 25 Aug 2003 20:26:00 -0000 Message-ID: <20030825202600.4412.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: dev@ant.apache.org Cc: Subject: DO NOT REPLY [Bug 22705] - ant 1.6alpha (and possibly earlier) requires JDK 1.4 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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