protect local object variable in multianewarray

This commit is contained in:
Joel Dice 2007-09-14 17:05:06 -06:00
parent 619d0daf8d
commit e76e4ccdf0

View File

@ -2126,6 +2126,7 @@ run(Thread* t)
object class_ = resolveClass(t, codePool(t, code), index - 1);
if (UNLIKELY(exception)) goto throw_;
PROTECT(t, class_);
int32_t counts[dimensions];
for (int i = dimensions - 1; i >= 0; --i) {