jdk/src/share/native/com/sun/java/util/jar/pack/unpack.cpp
changeset 16076 d7183f4305e5
parent 16075 32c3bc19bba7
child 16100 379f48d34516
--- a/jdk/src/share/native/com/sun/java/util/jar/pack/unpack.cpp	Tue Oct 16 12:35:22 2012 -0700
+++ b/jdk/src/share/native/com/sun/java/util/jar/pack/unpack.cpp	Tue Oct 16 12:38:29 2012 -0700
@@ -3117,7 +3117,7 @@
 
 void unpacker::read_bands() {
   byte* rp0 = rp;
-
+  CHECK;
   read_file_header();
   CHECK;
 
@@ -3879,10 +3879,12 @@
 // packed file and len is the length of the buffer.
 // If null, the callback is used to fill an internal buffer.
 void unpacker::start(void* packptr, size_t len) {
+  CHECK;
   NOT_PRODUCT(debug_u = this);
   if (packptr != null && len != 0) {
     inbytes.set((byte*) packptr, len);
   }
+  CHECK;
   read_bands();
 }