JDK-8222276 : (zipfs) Refactoring and cleanups to prepare for JDK-8213031
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio
  • Affected Version: 11,13
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2019-04-10
  • Updated: 2023-01-10
  • Resolved: 2019-05-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 13
13 b22Fixed
Related Reports
Relates :  
Relates :  
Description
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.

Comments
URL: http://hg.openjdk.java.net/jdk/jdk/rev/6a6935abebe8 User: clanger Date: 2019-05-17 08:30:11 +0000
17-05-2019