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] | |
PDF library message java.lang.ExceptionInInitializerError^M at java.lang.Class.initializeClass(pdflink.cpp:0)^M at java.util.Currency.getInstance(pdflink.cpp:0)^M at java.text.DecimalFormatSymbols.<init>(pdflink.cpp:0)^M at com.lowagie.text.pdf.ByteBuffer.<clinit>(pdflink.cpp:0)^M at java.lang.Class.initializeClass(pdflink.cpp:0)^M at com.lowagie.text.pdf.PdfName.<init>(pdflink.cpp:0)^M at com.lowagie.text.pdf.PdfName.<init>(pdflink.cpp:0)^M at com.lowagie.text.pdf.PdfName.<clinit>(pdflink.cpp:0)^M at java.lang.Class.initializeClass(pdflink.cpp:0)^M at com.lowagie.text.pdf.PdfWriter.<clinit>(pdflink.cpp:0)^M at java.lang.Class.initializeClass(pdflink.cpp:0)^M at com.lowagie.text.pdf.PdfWriter.getInstance(pdflink.cpp:0)^M at ads.Draw.createDocument(pdflink.cpp:0)^M Caused by: java.lang.NullPointerException^M at java.io.InputStreamReader.read(pdflink.cpp:0)^M at java.io.BufferedReader.fill(pdflink.cpp:0)^M at java.io.BufferedReader.readLine(pdflink.cpp:0)^M at java.util.Properties.load(pdflink.cpp:0)^M at java.util.Currency.<clinit>(pdflink.cpp:0)^M at java.lang.Class.initializeClass(pdflink.cpp:0)^M ...12 more^M
Danny Smith wrote:Sorry for joining this thread sideways and lately At: http://gcc.gnu.org/ml/java/2008-12/msg00032.html
Andrew Haley wrote:"So, which object file in libmingw.a contains the undefined reference to `WinMain@16' And what dependency is causing it to be pulled in?"
On i386 targets libgcj has a undefined reference to 'main' due to the fallback backtrace code introduced with this patch:
A dummy main() in the dll is one workaround, but you need to be careful not to export it.
Mmm, but it won't do the job we need: we have to have the address of the real main. Is there some Windows equivalent of dlsym() we can use?
Andrew.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |