This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Error compiling itext file


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]