[Bug libgcj/12908] gnu.gcj.convert.Input_UTF8 not found
green at redhat dot com
gcc-bugzilla@gcc.gnu.org
Wed Nov 5 15:24:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12908
green at redhat dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2003-11-05 15:24:11
date| |
------- Additional Comments From green at redhat dot com 2003-11-05 15:24 -------
The original problem is being reported on Windows, where gcj only does static
linking. Input_UTF8 is being loaded via Class.forName() in this case, so you're
in trouble if you have a static image without that class.
The fix is to stick this in your code somewhere:
private static Class c1 = gnu.gcj.convert.Input_UTF8.class;
This will force Input_UTF8 into your static image.
AG
More information about the Gcc-bugs
mailing list