diff 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
line wrap: on
line diff
--- a/src/share/vm/classfile/classFileStream.cpp	Mon Jan 07 15:32:51 2013 -0500
+++ b/src/share/vm/classfile/classFileStream.cpp	Tue Jan 08 14:01:36 2013 -0500
@@ -93,3 +93,10 @@
   }
   _current += length * 2;
 }
+
+void ClassFileStream::skip_u4(int length, TRAPS) {
+  if (_need_verify) {
+    guarantee_more(length * 4, CHECK);
+  }
+  _current += length * 4;
+}