[kaffe] kaffeh leaves incomplete output files

Patrick Tullmann tullmann@cs.utah.edu
Tue, 30 Jul 2002 16:36:11 -0600


Takahiko_Kawasaki wrote:
> As far as I have looked into source codes, kaffeh_findClass()
> is called from only main() in kaffe/kaffeh/main.c and
> setupClass() in kaffe/kaffeh/support.c.  However, setupClass()
> in kaffe/kaffeh/support.c is not called from anywhere (there
> is a similar function in kaffe/kaffevm/classMethod.c).

Kaffeh gets a significant chunk of its code out of the kaffevm/
directory, but does selectivley override several functions from
kaffevm/.  Specifically, setupClass() is invoked by
readClass.c::readClass (which is used by kaffeh and kaffevm).

Luckly, setupClass returns true/false indicating if it completed
successfully, so you should be able propogate the findClass error
check through it.

-Pat

----- ----- ---- ---  ---  --   -    -      -         -               -
Pat Tullmann                                       tullmann@cs.utah.edu
                   All your base are belong to us.