aboutsummaryrefslogtreecommitdiff
path: root/libjava/include/jvm.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2005-06-15 19:11:43 +0000
committerTom Tromey <tromey@gcc.gnu.org>2005-06-15 19:11:43 +0000
commitfbb4c46b2d6b1cb70f05c25e01462d90282aece5 (patch)
treed75a57626d585261ba5d3eae3b74954aa5b37586 /libjava/include/jvm.h
parent92b5fbc5aebba9d16fb3247ad0b77020132a2427 (diff)
downloadgcc-fbb4c46b2d6b1cb70f05c25e01462d90282aece5.zip
gcc-fbb4c46b2d6b1cb70f05c25e01462d90282aece5.tar.gz
gcc-fbb4c46b2d6b1cb70f05c25e01462d90282aece5.tar.bz2
re PR libgcj/21906 (hang when invoking abstract method)
gcc/java/: PR libgcj/21906: * class.c (make_method_value): Use soft_abstractmethod_node for abstract method. * java-tree.h (soft_abstractmethod_node): New define. (JTI_SOFT_ABSTRACTMETHOD_NODE): New enum constant. * decl.c (java_init_decl_processing): Initialize soft_abstractmethod_node. libjava/: PR libgcj/21906: * defineclass.cc (handleMethodsEnd): Set ncode for abstract methods. * include/jvm.h (_Jv_ThrowAbstractMethodError): Declare. * link.cc (_Jv_ThrowAbstractMethodError): Renamed. No longer static. (append_partial_itable): Use it. (set_vtable_entries): Likewise. From-SVN: r100992
Diffstat (limited to 'libjava/include/jvm.h')
-rw-r--r--libjava/include/jvm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libjava/include/jvm.h b/libjava/include/jvm.h
index 3a2eb9b..606a84d 100644
--- a/libjava/include/jvm.h
+++ b/libjava/include/jvm.h
@@ -482,6 +482,8 @@ extern void _Jv_CallAnyMethodA (jobject obj,
extern jobject _Jv_NewMultiArray (jclass, jint ndims, jint* dims)
__attribute__((__malloc__));
+extern "C" void _Jv_ThrowAbstractMethodError () __attribute__((__noreturn__));
+
/* Checked divide subroutines. */
extern "C"
{