Error compiling itext file
Tom Tromey
tromey@redhat.com
Sun Mar 21 17:32:00 GMT 2004
>>>>> "Bob" == Bob Bell <bbell@hp.com> writes:
Bob> http://prdownloads.sourceforge.net/itextpdf/itext-paulo-jdk1.1-129.zip.
This has code in it like this:
import com.sun.java.util.collections.Comparator;
This will never work with gcj, I'm afraid. We don't implement
com.sun.*, nor can we.
Still, I changed all these to `java.util' with perl, then changed the
resulting "java.util.Comparator" to "java.lang.Comparator" and, sure
enough, I get the same error as you.
This is a gcj bug. Your code is valid. Could you file this in the
gcc.gnu.org bugzilla?
Tom
More information about the Java
mailing list