From 56389dd2e14934b926b5babb38fd8ae643079485 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Thu, 20 Mar 2008 18:37:21 -0600 Subject: [PATCH] don't populate interface vtables for abstract classes --- src/machine.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/machine.cpp b/src/machine.cpp index 82f834db50..b812303b15 100644 --- a/src/machine.cpp +++ b/src/machine.cpp @@ -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) {