fix GC-safety bug in resolveSpec

This commit is contained in:
Joel Dice 2009-08-20 12:37:03 -06:00
parent 4c14a9ab66
commit a56c1d8765

View File

@ -618,6 +618,7 @@ resolveSpec(Thread* t, object loader, object spec, unsigned offset)
}
PROTECT(t, spec);
PROTECT(t, loader);
unsigned length = s - &byteArrayBody(t, spec, offset);