jdk/src/share/classes/com/sun/java/util/jar/pack/BandStructure.java
changeset 7803 56bc97d69d93
parent 7795 98021fc612af
child 7816 55a18147b4bf
equal deleted inserted replaced
7802:74f2ee2b62ba 7803:56bc97d69d93
  1702             new FixedList<>(ATTR_CONTEXT_LIMIT);
  1702             new FixedList<>(ATTR_CONTEXT_LIMIT);
  1703     {
  1703     {
  1704         for (int i = 0; i < ATTR_CONTEXT_LIMIT; i++) {
  1704         for (int i = 0; i < ATTR_CONTEXT_LIMIT; i++) {
  1705             assert(attrIndexLimit[i] == 0);
  1705             assert(attrIndexLimit[i] == 0);
  1706             attrIndexLimit[i] = 32;  // just for the sake of predefs.
  1706             attrIndexLimit[i] = 32;  // just for the sake of predefs.
  1707             attrDefs.set(i, new ArrayList<Attribute.Layout>(Collections.nCopies(
  1707             attrDefs.set(i, new ArrayList<>(Collections.nCopies(
  1708                     attrIndexLimit[i], (Attribute.Layout)null)));
  1708                     attrIndexLimit[i], (Attribute.Layout)null)));
  1709 
  1709 
  1710         }
  1710         }
  1711 
  1711 
  1712         // Add predefined attribute definitions:
  1712         // Add predefined attribute definitions: