From d5f4811b43b2f48e9662c6b93f4963f29d55023d Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Tue, 4 Aug 2009 08:50:04 -0600 Subject: [PATCH] check for exception after calling resolveClass in parseInterfaceTable --- src/machine.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/machine.cpp b/src/machine.cpp index 8f465304fe..40420ee1cd 100644 --- a/src/machine.cpp +++ b/src/machine.cpp @@ -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);