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 Sat, 10 Jun 2006 20:02:30 GMT
On Sat, 10 Jun 2006, Jesse Glick <jesse.glick@sun.com> wrote:
> Stefan Bodewig wrote:

>> Java 5 adds a completely new sort of problems with APIs retrofitted
>> to support generics.  Since Comparable is now Comparable<T> the
>> BigInteger class used to have a method int compareTo(Object) and
>> now has a int compareTo(BigInteger) and no Object signature
>> alternative.
> 
> Not true. Check javap; both signatures exist in the bytecode.

OK, so that means that JDK 1.4 compiled code should work in Java 5,
but not the other way around.

Thanks

        Stefan

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


Mime
View raw message