summaryrefslogtreecommitdiff
path: root/libjava/resolve.cc
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2002-12-05 07:43:45 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2002-12-05 07:43:45 +0000
commit7ae1133813dccee1034e8558dabadd99bbd0ad52 (patch)
treec34b3facbe8521cce08d485b456e9ded07c686e8 /libjava/resolve.cc
parent4bcd36527fc31f0e2bbe6d2561fe2e72754ecd12 (diff)
downloadgcc-7ae1133813dccee1034e8558dabadd99bbd0ad52.tar.gz
* java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
* resolve.cc: Don't include AbstractMethodError.h. (_Jv_abstractMethodError): Removed. * defineclass.cc (handleMethodsBegin): Initialize method index to -1. * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set method index for "new" final method. (_Jv_SetVTableEntries): Compare index against -1 instead of using isVirtualMethod. Added `flags' argument. (_Jv_MakeVTable): Throw exception for abstract method in concrete class. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59847 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/resolve.cc')
-rw-r--r--libjava/resolve.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/libjava/resolve.cc b/libjava/resolve.cc
index e9fe4ad5af2..e195c333cc8 100644
--- a/libjava/resolve.cc
+++ b/libjava/resolve.cc
@@ -363,13 +363,6 @@ _Jv_SearchMethodInClass (jclass cls, jclass klass,
return 0;
}
-/* this is installed in place of abstract methods */
-static void
-_Jv_abstractMethodError ()
-{
- throw new java::lang::AbstractMethodError;
-}
-
void
_Jv_PrepareClass(jclass klass)
{