check for exception after calling resolveClass in parseInterfaceTable

This commit is contained in:
Joel Dice 2009-08-04 08:50:04 -06:00
parent f8bf83bfec
commit d5f4811b43

View File

@ -858,6 +858,8 @@ parseInterfaceTable(Thread* t, Stream& s, object class_, object pool)
PROTECT(t, name);
object interface = resolveClass(t, name);
if (UNLIKELY(t->exception)) return;
PROTECT(t, interface);
hashMapInsertMaybe(t, map, name, interface, byteArrayHash, byteArrayEqual);