JDK-8176709 : (zipfs) JarFileSystem::isMultiReleaseJar is incorrect
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2017-03-14
  • Updated: 2017-03-25
  • Resolved: 2017-03-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 10 JDK 9
10Fixed 9 b162Fixed
Related Reports
Relates :  
Description
Initial implementation of JEP 238 ignored the value of the multi-release attribute, but this was changed so that the only accepted value should be "multi-release: true", case insensitive, no extra whitespace before or after.

More work was done to tighten and improve the performance of the JarFile implementation, and it seems the best way to ensure JarFile and JarFileSystem stays the same is to extract the checking logic into a utility class that both can use.
Comments
The zip/jar provider is isn't own module and we should try to avoid exporting internal packages to jdk.zipfs.
14-03-2017