public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jahwe2000 at gmx dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug java/12182] New: compilation of iText fails, probably a bug
Date: Fri, 05 Sep 2003 11:58:00 -0000	[thread overview]
Message-ID: <20030905115807.12182.jahwe2000@gmx.net> (raw)

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12182

           Summary: compilation of iText fails, probably a bug
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jahwe2000 at gmx dot net
                CC: gcc-bugs at gcc dot gnu dot org

When compiling iText 1.0.0 (with gcj 3.4 and 3.3.1 und windows/mingw) I get 
the following error:

D:\MinGW\classpath\lib_test\PdfCopy.java: In class 
`com.lowagie.text.pdf.PdfCopy':
D:\MinGW\classpath\lib_test\PdfCopy.java: In method 
`com.lowagie.text.pdf.PdfCopy.copyIndirect
(com.lowagie.text.pdf.PRIndirectReference)':
D:\MinGW\classpath\lib_test\PdfCopy.java:170: error: Can't find constructor 
`com.lowagie.text.pdf.PdfCopy$RefKey
(Lcom/lowagie/text/pdf/PRIndirectReference;)' in type 
`com.lowagie.text.pdf.PdfCopy$RefKey'. Candidates are:  `
(com.lowagie.text.pdf.PdfCopy,com.lowagie.text.pdf.PdfIndirectReference)' in
`com.lowagie.text.pdf.PdfCopy$RefKey'
  `(com.lowagie.text.pdf.PdfCopy,com.lowagie.text.pdf.PRIndirectReference)' in 
`com.lowagie.text.pdf.PdfCopy$RefKey'.
           RefKey key = new RefKey(in);

This could probably be a bug, because this works without errors with the JDK 
and also compiled with the Excelsior JET trial version.
I have assembled all files required for the project in a zip file, to 
reproduce it. It is 2.4 MB big, so I could mail it to anyone interested on 
demand.

I am calling gcj with this command line:
D:\mingw\bin\gcj.exe --classpath=D:\MinGW\classpath\rt --
main=com.lowagie.tools.encrypt_pdf 
D:\MinGW\classpath\rt\com\lowagie\tools\encrypt_pdf.java 
D:\MinGW\classpath\lib_test\*.java -o d:\mingw\encryptpdf.exe
All files are placed in D:\MinGW\classpath\rt and subdirectories, but I also 
had to include all files seperately, because else I got undefined reference 
errors. So all files are placed in D:\MinGW\classpath\lib_test and included in 
a bulk.

regards,
Philip


             reply	other threads:[~2003-09-05 11:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-05 11:58 jahwe2000 at gmx dot net [this message]
2003-09-05 15:02 ` [Bug java/12182] " pinskia at gcc dot gnu dot org
2004-01-21 17:53 ` dhazeghi at yahoo dot com
2004-01-21 19:26 ` dhazeghi at yahoo dot com
2004-04-13 18:36 ` bbell at hp dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030905115807.12182.jahwe2000@gmx.net \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).