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]

Re: natClass.cc, java::lang::Class::initializeClass() problems


>>>>> "Marco" == Marco Trudel <mtrudel@gmx.ch> writes:

Marco> I'm trying to use AWT/Swing from a Sun 1.4.2_13 JRE. I can
Marco> successfully compile a minimal AWT application with AWT/Swing
Marco> from Sun instead of GNU classpath.

Note that this will require some work on your part.  Also the result
is probably legally questionable.

Our AWT peer interfaces started out compatible with Sun's, but have
diverged over time -- Sun un-documented these interfaces and so we
made additions as we needed.

This isn't insurmountable, and it would be nice to be compatible
here.  But, you definitely want to know about this before starting :)

Marco> 3. initIDs tries to load WComponentPeer (which is in the binary) but
Marco> runs in a JV_STATE_ERROR in natClass.cc:719

How did you compile WComponentPeer? ...

Marco> Maybe a problem with JNI?

... I'm wondering if you somehow forgot -fjni.

Otherwise all I can suggest is some debugging.

Tom


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