1.1 --- a/src/share/vm/code/scopeDesc.cpp Tue Mar 11 11:04:40 2008 -0700 1.2 +++ b/src/share/vm/code/scopeDesc.cpp Tue Mar 11 11:25:13 2008 -0700 1.3 @@ -91,7 +91,9 @@ 1.4 DebugInfoReadStream* stream = new DebugInfoReadStream(_code, decode_offset, result); 1.5 int length = stream->read_int(); 1.6 for (int index = 0; index < length; index++) { 1.7 - result->push(ScopeValue::read_from(stream)); 1.8 + // Objects values are pushed to 'result' array during read so that 1.9 + // object's fields could reference it (OBJECT_ID_CODE). 1.10 + (void)ScopeValue::read_from(stream); 1.11 } 1.12 assert(result->length() == length, "inconsistent debug information"); 1.13 return result;