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

Regression test StreamIOAfterClose.java faiing with JDK1.2fcs-C

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.2.0
    • 1.2.0
    • core-libs
    • None
    • 1.2fcs
    • sparc
    • solaris_2.5.1
    • Not verified

      Regression test test/java/util/zip/StreamIOAfterClose.java failing with
           jdk1.2fcs-C build on solaris.

      java StreamIOAfterClose
      java.io.IOException: Stream closed
      Exception in thread "main" java.lang.RuntimeException: Stream closed
              at java.io.ByteArrayOutputStream.ensureOpen(Compiled Code)
              at java.io.ByteArrayOutputStream.write(Compiled Code)
              at java.util.zip.DeflaterOutputStream.deflate(Compiled Code)
              at java.util.zip.ZipOutputStream.closeEntry(Compiled Code)
              at java.util.zip.ZipOutputStream.finish(Compiled Code)
              at java.util.zip.ZipOutputStream.close(Compiled Code)
              at StreamIOAfterClose.testWrite(Compiled Code)
              at StreamIOAfterClose.main(Compiled Code)

      But after looking at the test , it seems to me that should fail.
      This seems like a negetive test where fail = pass. need to modify regression test.

            zlisunw Zhenghua Li (Inactive)
            mavvarisunw Madhava Avvari (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: