JDK-8061702 : Remove use of ZipFileIndex and related classes
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Duplicate
  • Submitted: 2014-10-21
  • Updated: 2017-08-28
  • Resolved: 2015-12-15
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 9
9Resolved
Related Reports
Duplicate :  
Duplicate :  
Description
javac provides the ability to use a custom private implementation of code to read zip files. As we transition towards using NIO file systems within javac, we should remove this private internal library.

The classes to be removed are:   
    javac.file.ZipFileIndex
    javac.file.ZipFileIndexArchive
    javac.file.ZipFileIndexCache

In addition, JavacFileManager will be simplified to not support these classes. The feature was controlled by undocumented -XD options, so no CCC will be required to remove this support.
Comments
As part of this fix, test: tools/javac/T6725036.java will also get removed.
28-10-2014