ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Ant 1.7 release
Date Fri, 02 Jun 2006 04:37:24 GMT
On Fri, 2 Jun 2006, Kev Jackson <foamdino@gmail.com> 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


Mime
View raw message