Class.h (_Jv_SetVTableEntries): Updated declaration.
* 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. From-SVN: r59847
This commit is contained in:
parent
83f0a003b8
commit
eaa2834f9f
5 changed files with 73 additions and 35 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue