Re: SableVM SDK release and CP 0.15 merge (solved!)

"Grzegorz B. Prokopski" <[email protected]> Sun, 15 May 2005 13:26:57 -0400
Newsgroups gmane.comp.java.vm.sablevm.devel
Organization SableVM - LGPL'ed Free Java VM http://sablevm.org
Message-ID <[email protected]>
On Sun, 2005-15-05 at 17:19 +0200, Marcel Wiesweg wrote:
> I had time to get a quick look at this, no solution yet, but what I found out 
> is that the problem is not related to the classes displayed in the backtrace. 
> It is rather java.lang.Object.getClass() which is broken somewhere: it always 
> returns java.lang.Class as the object`s class (see first line in backtrace: 
> it actually is an IllegalArgumentException). This already happens at the 
> stack frame in the beginning of the backtrace, this is only the first time 
> where it results in an error.
> No time today to look into this any further.

It's fixed now, and the credit is yours.  Indeed, getClass() was moved
from being non-static native method in java.lang.Object, to a static
method in java.lang.VMObject, and I simply moved the native code not
noticing the method is now a static one.

As promised, I'll look into integrating GJDOC (javadoc replacement)
and/or classpath-tools (javah and friends) into SableVM SDK.

Thanks for help!

				Grzegorz B. Prokopski

PS: You can fetch SableVM SDK already by issuing the following command:
	svn co svn://svn.sablevm.org/sablevm-sdk/trunk sablevm-sdk
Checking out sablevm will fail because unfortunatelly Subversion is not
smart enough to allow for repository-relative paths in svn:externals, so
you'll have to correct two lines by hand using:
	svn pe svn:externals sablevm-sdk/
then
	cd sablevm-sdk && svn up
should fetch you all the rest of SableVM SDK.  After that ./autogen.sh
&& ./configure && make install should be all you need to get it started.
-- 
Grzegorz B. Prokopski           <[email protected]>
SableVM - Free, LGPL'ed Java VM  http://sablevm.org
Why SableVM ?!?                  http://sablevm.org/wiki/Features
Debian GNU/Linux - the Free OS   http://www.debian.org