View | Details | Raw Unified | Return to bug 36560 | Differences between
and this patch

Collapse All | Expand All

(-)InflaterHuffmanTree.java (-2 lines)
Lines 109-116 Link Here
109
	    treeSize += (end - start) >> (16 - bits);
109
	    treeSize += (end - start) >> (16 - bits);
110
	  }
110
	  }
111
      }
111
      }
112
    if (code != 65536)
113
      throw new DataFormatException("Code lengths don't add up properly.");
114
112
115
    /* Now create and fill the extra tables from longest to shortest
113
    /* Now create and fill the extra tables from longest to shortest
116
     * bit len.  This way the sub trees will be aligned.
114
     * bit len.  This way the sub trees will be aligned.

Return to bug 36560