summaryrefslogtreecommitdiffstats
path: root/libjava/include
diff options
context:
space:
mode:
authoraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>2005-12-08 14:19:13 +0000
committeraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>2005-12-08 14:19:13 +0000
commitfb2839e8929e45aa232f760cd3485dad76513c5d (patch)
treee764f1b2a5c7d9e67d1a6fc89048373154d65bc7 /libjava/include
parentf39bebdba144115c82f60bfb9cead2243f7861fa (diff)
downloadppe42-gcc-fb2839e8929e45aa232f760cd3485dad76513c5d.tar.gz
ppe42-gcc-fb2839e8929e45aa232f760cd3485dad76513c5d.zip
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108231 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/include')
-rw-r--r--libjava/include/jvm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libjava/include/jvm.h b/libjava/include/jvm.h
index 8d3405947d2..85caa40e23f 100644
--- a/libjava/include/jvm.h
+++ b/libjava/include/jvm.h
@@ -442,6 +442,10 @@ extern "C" void _Jv_ThrowBadArrayIndex (jint bad_index)
__attribute__((noreturn));
extern "C" void _Jv_ThrowNullPointerException (void)
__attribute__((noreturn));
+extern "C" void _Jv_ThrowNoSuchMethodError (void)
+ __attribute__((noreturn));
+extern "C" void _Jv_ThrowNoSuchFieldError (int)
+ __attribute__((noreturn));
extern "C" jobject _Jv_NewArray (jint type, jint size)
__attribute__((__malloc__));
extern "C" jobject _Jv_NewMultiArray (jclass klass, jint dims, ...)
OpenPOWER on IntegriCloud