On Sat, 10 Jun 2006, Jesse Glick <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to