On 17/03/2008, Trevor Harmon <trevor@xxxxxxxxxx> wrote: > Hi, > > I'm attempting to compile Classpath 0.97.1 on Mac OS X 10.5.2, which > has Java 1.5.0_13 installed. My configure options are: > > --disable-dependency-tracking --disable-gtk-peer --disable-gconf-peer > --disable-plugin --enable-jni > > After typing "make" I eventually get this error: > > ../java/util/EnumSet.java:252: inconvertible types > found : java.util.Collection<capture of ? extends T> > required: java.util.EnumSet<T> > EnumSet<T> other = (EnumSet<T>) c; > > Nothing I try fixes this problem. Does anyone have any advice? > > > Trevor > > > Version 1.5 of Sun's javac is broken. Please use an alternate compiler, such as ecj, or a newer version of javac, such as OpenJDK javac or the version that comes with JDK 1.6. -- Andrew :-) Document Freedom Day - March 26th http://documentfreedom.org Support Free Java! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath http://openjdk.java.net PGP Key: 94EFD9D8 (http://subkeys.pgp.net) Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8