comparison src/share/vm/classfile/classFileStream.cpp @ 7462:ade95d680b42

8004728: Add hotspot support for parameter reflection Summary: Add hotspot support for parameter reflection Reviewed-by: acorn, jrose, coleenp Contributed-by: eric.mccorkle@oracle.com
author coleenp
date Tue, 08 Jan 2013 14:01:36 -0500
parents f95d63e2154a
children de6a9e811145
comparison
equal deleted inserted replaced
7460:6c3f47d964f3 7462:ade95d680b42
91 if (_need_verify) { 91 if (_need_verify) {
92 guarantee_more(length * 2, CHECK); 92 guarantee_more(length * 2, CHECK);
93 } 93 }
94 _current += length * 2; 94 _current += length * 2;
95 } 95 }
96
97 void ClassFileStream::skip_u4(int length, TRAPS) {
98 if (_need_verify) {
99 guarantee_more(length * 4, CHECK);
100 }
101 _current += length * 4;
102 }