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

Assorted ZipFile improvements

XMLWordPrintable

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

      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

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

              Created:
              Updated:
              Resolved: