don't populate interface vtables for abstract classes

This commit is contained in:
Joel Dice 2008-03-20 18:37:21 -06:00
parent d8889bd4d8
commit 56389dd2e1

View File

@ -1279,7 +1279,9 @@ parseMethodTable(Thread* t, Stream& s, object class_, object pool)
}
}
if (populateInterfaceVtables) {
if (populateInterfaceVtables
and (classFlags(t, class_) & ACC_ABSTRACT) == 0)
{
// generate interface vtables
object itable = classInterfaceTable(t, class_);
if (itable) {