Object.h (throwNoSuchMethodError): New method.
commit9edd0f5e69ca58b69405b4422907c07abdcc5a7e
authorAndrew Haley <aph@redhat.com>
Thu, 8 Dec 2005 14:19:13 +0000 (8 14:19 +0000)
committerAndrew Haley <aph@gcc.gnu.org>
Thu, 8 Dec 2005 14:19:13 +0000 (8 14:19 +0000)
treee764f1b2a5c7d9e67d1a6fc89048373154d65bc7
parente00388458d34ab0954df5d12c9d45ee0fd794e58
Object.h (throwNoSuchMethodError): New method.

2005-12-08  Andrew Haley  <aph@redhat.com>

        * java/lang/Object.h (throwNoSuchMethodError): New method.
        * java/lang/Object.java (throwNoSuchMethodError): New method.
        * include/jvm.h (_Jv_ThrowNoSuchFieldError): Declare.
        * link.cc (_Jv_ThrowNoSuchFieldError): New.
        (link_symbol_table): Don't throw a NoSuchFieldError if a field is
        missing.  Instead, set the otable entry to zero.
        (link_symbol_table): If we don't find a nonstatic method, insert
        the vtable offset of Object.throwNoSuchMethodError() into the
        otable.

From-SVN: r108231
libjava/ChangeLog
libjava/include/jvm.h
libjava/java/lang/Object.h
libjava/java/lang/Object.java
libjava/link.cc