This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Error compiling itext file
- From: Tom Tromey <tromey at redhat dot com>
- To: Bob Bell <bbell at hp dot com>
- Cc: java at gcc dot gnu dot org
- Date: 19 Mar 2004 16:39:49 -0700
- Subject: Re: Error compiling itext file
- References: <20040319050519.GA7060@zk3.dec.com>
- Reply-to: tromey at redhat dot com
>>>>> "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