Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4176521

Known Change: Spec for DeflatorOutputStream changed, now throws exception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.2.0
    • 1.2.0
    • docs
    • None
    • 1.2fcs
    • generic
    • generic
    • Verified

      The specifications for the constructors in the classes java.util.zip.DeflatorOutputStream, InflatorInputStream, GZIPInputStream, and GZIPOutputStream have changed. The value of the integer size must now be greater than 0. If the value of size is less than or equal to zero an IllegalArgumentException will be thrown.

      This affects the following JCK 1.1.x tests:
      api/java_util/zip/InflaterInputStreamTest.html#InflaterIStream_ctorTest6
      api/java_util/zip/GZIPInputStreamTest.html#GZIPIStream_ctorTest5
      api/java_util/zip/GZIPOutputStreamTest.html#GZIPOStream_ctorTest4

            asommere Alan Sommerer (Inactive)
            kasmithsunw Kevin Smith (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: