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

(zipfs) Refactoring and cleanups to prepare for JDK-8213031

XMLWordPrintable

    • b22
    • Not verified

      Before JDK-8213031 is reviewed, there are some refactorings and cleanups that could be separated out. This will keep the actual fix for JDK-8213031 smaller and more concise for reviewing.

      Some details:
      Improve error handling for ZipFileAttributeView::get methods
      improve handling for zip64 attribute/version
      minor clenaups such as adding @Override annotations, whitespace fixes, private method visibility etc.
      The fix for JDK-8222440 has made some methods and fields from ZipFileSystem non-private to be used by JarFileSystem's new method getNodeInRootTree(). We make these private again and move the getNodeInRootTree logic to ZipFileSystem.

            clanger Christoph Langer
            clanger Christoph Langer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: