JDK-8209176 : Check use of size hints when using compression entries
  • Type: Bug
  • Component: tools
  • Sub-Component: jlink
  • Affected Version: 12
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2018-08-09
  • Updated: 2020-03-16
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.
Other
tbdUnresolved
Related Reports
Relates :  
Description
This mail to jigsaw-dev suggests there are issues in the jimage and image reader code when using compression:

http://mail.openjdk.java.net/pipermail/jigsaw-dev/2018-August/013905.html

These issues should be investigated, there may be some defensive-in-depth changes needed to cope with a buggy writer. Also there may be some performance work needed when using compression (the JDK run-time image doesn't use compress so it's really only an issue for someone creating a run-time image with `jlink --compress=<level>`.