jdk/src/java.base/share/classes/com/sun/java/util/jar/pack/PackageReader.java
changeset 32649 2ee9017c7597
parent 29986 97167d851fc4
child 40792 cfcc66f92aec
equal deleted inserted replaced
32648:1fa861caf840 32649:2ee9017c7597
   216             res |= (archive_magic.getByte() & 0xFF);
   216             res |= (archive_magic.getByte() & 0xFF);
   217         }
   217         }
   218         return res;
   218         return res;
   219     }
   219     }
   220 
   220 
   221     final static int MAGIC_BYTES = 4;
   221     static final int MAGIC_BYTES = 4;
   222 
   222 
   223     void readArchiveMagic() throws IOException {
   223     void readArchiveMagic() throws IOException {
   224         // Read a minimum of bytes in the first gulp.
   224         // Read a minimum of bytes in the first gulp.
   225         in.setReadLimit(MAGIC_BYTES + AH_LENGTH_MIN);
   225         in.setReadLimit(MAGIC_BYTES + AH_LENGTH_MIN);
   226 
   226