mirror of
https://github.com/corda/corda.git
synced 2025-04-09 04:15:35 +00:00
update method table for all classes in updateClassTables
Previously we only updated this table for non-interfaces, but interfaces may have methods which need updating too.
This commit is contained in:
parent
3497354bbf
commit
a648787e11
@ -2353,12 +2353,12 @@ updateClassTables(Thread* t, object newClass, object oldClass)
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
object methodTable = classMethodTable(t, newClass);
|
||||
if (methodTable) {
|
||||
for (unsigned i = 0; i < arrayLength(t, methodTable); ++i) {
|
||||
set(t, arrayBody(t, methodTable, i), MethodClass, newClass);
|
||||
}
|
||||
}
|
||||
|
||||
object methodTable = classMethodTable(t, newClass);
|
||||
if (methodTable) {
|
||||
for (unsigned i = 0; i < arrayLength(t, methodTable); ++i) {
|
||||
set(t, arrayBody(t, methodTable, i), MethodClass, newClass);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user