Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 51100 invoked from network); 2 Jun 2006 04:37:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Jun 2006 04:37:49 -0000 Received: (qmail 24366 invoked by uid 500); 2 Jun 2006 04:37:47 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 24310 invoked by uid 500); 2 Jun 2006 04:37:47 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 24299 invoked by uid 99); 2 Jun 2006 04:37:47 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Jun 2006 21:37:47 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [217.160.128.107] (HELO www.samaflost.de) (217.160.128.107) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Jun 2006 21:37:45 -0700 Received: by www.samaflost.de (Postfix, from userid 1000) id 2D59B88A43B; Fri, 2 Jun 2006 06:37:24 +0200 (CEST) To: dev@ant.apache.org Subject: Re: Ant 1.7 release X-Draft-From: ("nnfolder:mail.jakarta-ant" 74115) References: <878xog8a4m.fsf@www.samaflost.de> <8AECA5AB-D87E-476F-B59F-5B8479A5AE61@gmail.com> From: Stefan Bodewig Date: Fri, 02 Jun 2006 06:37:24 +0200 In-Reply-To: <8AECA5AB-D87E-476F-B59F-5B8479A5AE61@gmail.com> (Kev Jackson's message of "Fri, 2 Jun 2006 11:35:47 +0700") Message-ID: <87zmgw6um3.fsf@www.samaflost.de> User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Fri, 2 Jun 2006, Kev Jackson wrote: > On 2 Jun 2006, at 11:16, Stefan Bodewig wrote: > >> Object signature alternative. It is impossible to compile code on >> JDK 1.5 that uses the method and still works on JDK 1.4 - but the >> opposite is also true > > This leaves us in a pickle unless we can guarantee that the every > line of code will both compile and run correctly on all JVMs > released since 1.2. I'm not sure that we can guarantee to this > level of surety. We simply can't. Leaving the generics/erasure problem aside, there is a way to ensure you don't compile against methods that are too new, but it is painful: start building with JDK 1.2, compile what hasn't been compiled by building with JDK 1.3, repeat with JDK 1.4 and 1.5. The pragmatic way is to assume that (1) nobody complained that Ant 1.6.5 didn't work so JDK 1.4 was fine back then and (2) the unit tests cover quite a bit of our code so running the unit test suite with JDK 1.2 is supposed to find trouble spots. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org