[Bug libgcj/12908] gnu.gcj.convert.Input_UTF8 not found
oyvind dot harboe at zylin dot com
gcc-bugzilla@gcc.gnu.org
Wed Nov 5 17:17: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
------- Additional Comments From oyvind dot harboe at zylin dot com 2003-11-05 17:17 -------
>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.
This is scary.
How can I enumerate the hidden libgcj classes I need?
Ãyvind
More information about the Gcc-bugs
mailing list