fix failure to add abstract virtuals to class with no declared virtuals

This commit is contained in:
Joel Dice
2010-09-25 16:35:18 -06:00
parent 268d2de175
commit 1d4b54a9f6
2 changed files with 16 additions and 0 deletions

View File

@ -1494,6 +1494,7 @@ parseMethodTable(Thread* t, Stream& s, object class_, object pool)
bool populateInterfaceVtables = false;
if (declaredVirtualCount == 0
and abstractVirtuals == 0
and (classFlags(t, class_) & ACC_INTERFACE) == 0)
{
if (classSuper(t, class_)) {