This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug libgcj/12908] gnu.gcj.convert.Input_UTF8 not found


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


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