------- Comment #26 from thebohemian at gmx dot net 2005-12-05 11:52 ------- Created an attachment (id=10407) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10407&action=view) updated test setup
Added two more tests: invokeMethodIndirect1 invokeMethodIndirect2 A new class HelperClassInvokeMethod contains a non-static method which refers to a missing class and one that doesnt. In invokeMethodIndirect1 we call the method which does not touch the missing class. This is done in invokeMethodIndirect2. Additionaly this method contains some println() statements before and after the statements that will cause a NoClassDefFoundError. Andrew suggested that the whole method must fail with that error (when it is called) but I think the interpreter should execute code as far as possible. This is reinforced by the successful execution of the println() statements. On the JDK (as well as gij in interpreted and BC-compiled mode with my linker patches applied) the invokeMethodIndirect2 test prints: 'fail-0' and then the NoClassDefFoundError is thrown. -- thebohemian at gmx dot net changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10188|0 |1 is obsolete| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24616