Exception/Compiler bug in Kaffe 0.8.1

Tim Wilkinson tim at tjwassoc.demon.co.uk
Sun Feb 23 14:54:27 PST 1997


All,

I've had various compiler and/or exception related bugs reported in Kaffe 
0.8.1 demonstrating the old maxim of "If it works don't fix it".  Find
below a little fix which should help things out.

Note, if you've reported an exception or compiler related problem to me,
I'm going to assume this'lll fix it - if it doesn't for you please let
me know.

Cheers
Tim

--- kaffe-0.8.1/kaffe/kaffevm/jit/machine.c.orig        Sun Feb 23 22:50:19 1997
+++ kaffe-0.8.1/kaffe/kaffevm/jit/machine.c     Sun Feb 23 22:50:38 1997
@@ -212,6 +212,7 @@
 
                /* Note start of exception handling blocks */
                if (IS_STARTOFEXCEPTION(pc)) {
+                       stackno = meth->stacksz - 1;
                        start_exception_block();
                }
 


--
  Tim Wilkinson                         Tel/Fax: +44 181 440 0658
  T. J. Wilkinson & Associates,         Mobile:  +44 370 621006
  London, UK.                           Email:   tim at tjwassoc.demon.co.uk



More information about the kaffe mailing list