JDK-8147897 : Examine custom ImageBuilder support
  • Type: Sub-task
  • Component: tools
  • Sub-Component: jlink
  • Affected Version: 9-repo-jigsaw
  • Priority: P3
  • Status: Resolved
  • Resolution: Won't Fix
  • Submitted: 2016-01-21
  • Updated: 2016-05-18
  • Resolved: 2016-05-18
Description
jlink creates a modular runtime image as specified by JEP 220.   The ImageBuilder API is not intended to support changing the modular runtime image produced by jlink.

A packaging tool may want to take the modular runtime image, produced by jlink with a selected set of plugins, and package it to platform specific layout while the modular runtime image stays intact.

The current jdk.tools.jlink.builder API seems to support generating a custom ExecutableImage implementation.  We should examine the use cases whether this should be allowed.

Comments
http://hg.openjdk.java.net/openjfx/sandbox-9-jake/rt/file/acb77773c827/modules/fxpackager/src/main/java/jdk/packager/builders/AbstractAppImageBuilder.java javafx packager uses the default image builder.
21-01-2016