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

Add a fast, non-manual alternative to test/jdk/java/util/zip/ZipFile/TestTooManyEntries

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 21
    • 21
    • core-libs
    • None

    Description

      The TestTooManyEntries test was originally added in JDK-8272746 to validate that ZIP64 files with a total CEN size exceeding what ZipFile supports are rejected with a ZipException. The test does this by creating a large ZIP file (several gigabytes) with many enties. Because this is resource intensive, the test is currently tagged as manual. (See #6927)

      It would be useful to have a test which asserts the CEN size enforcement, but without the CPU, disk, memory and run time requirements of TestTooManyEntries.

      Attachments

        Issue Links

          Activity

            People

              eirbjo Eirik Bjørsnøs
              eirbjo Eirik Bjørsnøs
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: