https://issues.apache.org/bugzilla/show_bug.cgi?id=46387
--- Comment #2 from Peter Reilly <[email protected]> 2008-12-12 07:35:11 PST --- 1) javac -version for sun's java is javac 1.6_05 and not javac 1.6.0-internal I think that the -internal is ibm's version. The New class does not compile for sun's javac - it gives the following bizzare error: /usr/java/jdk1.6.0_04/bin/javac New.java New.java:18: incompatible types found : java.util.List<E> required: java.util.List<T> return arrayList( _elts ); ^ 1 error 2) the reported errors deals with another class - IBoth.java and not New.java 3) javac (boh sun and ibm) has issues in dealing with generics across classes and java sources - due to erasure. 4) the New.java definition looks a bit odd - I am sure that one needs ? extends T, or something similar. 5) ant does not do anything special to compile classes - it justs calls Javac.main() with the relavent command line options. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
