------- Comment #24 from aph at gcc dot gnu dot org  2005-12-02 17:43 -------
This is great, but an additional test case for dynamic method invocation is
needed.

We need to be able to continue if a class T that contains a method that refers
to a missing class M is initialized.  At that time, the otable slot for class T
that refers to the missing method must be initialized to point to the offset
for  
a method in java.lang.Object that throws NoClassDefFoundError.

This is the proper test case:

class invokeMethod implements Runnable
{
  void notCalledMethod()
  {
        TestClass t = new TestClass();
        t.fail();
  }

  public void run(){
  }
}


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24616

Reply via email to