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

Assorted ZipFile improvements

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 9
    • None
    • core-libs
    • None

    Description

      ZipEntryIterator synchronizes on both hasNext and next. One is sufficient.

      Each ZipFile holds on to an ArrayList of META-INF names. Storage retention can be improved if:
      - use null if no META-INF
      - use int[] instead of ArrayList<Integer>
      - stop storing directory entry names

      Attachments

        Activity

          People

            martin Martin Buchholz
            martin Martin Buchholz
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: