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

Andrew Haley aph@redhat.com
Mon Dec 11 15:53:00 GMT 2006


Marco Trudel writes:
 > 
 > Any ideas from the professionals?

It is possible that Sun's AWT/Swing implementation is written entirely
in portable Java.  However, I doubt it.  The core Java libraries are
fairly tightly coupled to a particular VM interface and to each other;
they tend share assumptions about implementation details.

When we have the sources for Sun's Java libraries we'll be able to see
where the non-portable assumptions are.

What you are doing is, more or less, akin to taking a telephone
exchange from New York and dropping it into Tokyo.  If it doesn't
work, then you'll have to break out the debugger and find out why it
doesn't work.  But I would urge you to use free software instead.

With regard to non-functional stack traces on Windows: this is a known
problem that'll be fixed once we get DWARF unwinder data on that
platform.  With regard to Linux: they should work, but it's possible
that there is a bug.  If you can reproduce the bug using free
software, let us know.

Andrew.



More information about the Java mailing list