jdk/src/java.base/share/classes/com/sun/java/util/jar/pack/Coding.java
changeset 32649 2ee9017c7597
parent 28059 e576535359cc
equal deleted inserted replaced
32648:1fa861caf840 32649:2ee9017c7597
   660             x >>= 1;
   660             x >>= 1;
   661         }
   661         }
   662         return lg;
   662         return lg;
   663     }
   663     }
   664 
   664 
   665     static private final byte[] byteBitWidths = new byte[0x100];
   665     private static final byte[] byteBitWidths = new byte[0x100];
   666     static {
   666     static {
   667         for (int b = 0; b < byteBitWidths.length; b++) {
   667         for (int b = 0; b < byteBitWidths.length; b++) {
   668             byteBitWidths[b] = (byte) ceil_lg2(b + 1);
   668             byteBitWidths[b] = (byte) ceil_lg2(b + 1);
   669         }
   669         }
   670         for (int i = 10; i >= 0; i = (i << 1) - (i >> 3)) {
   670         for (int i = 10; i >= 0; i = (i << 1) - (i >> 3)) {