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

Retire binary test vectors in test/jdk/java/util/zip/ZipFile

XMLWordPrintable

        Various tests in zip/ZipFile use the binary test vectors input.zip, input.jar and crash.jar. Binary test vectors makes the tests harder to understand, since the contents of the binary files must be analyzed to get a complete understanding of the tests. Modifications to binary test vectors is more complicated and sharing them across tests introduces the risk of affecting unrelated tests.

        We should update the tests to generate their own test vectors independently and programmatically. While making a pass over these dusty tests, it also makes sense to convert them to JUnit and perform a moderate pass of cleanup and code modernization.

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

                Created:
                Updated:
                Resolved: