jlink RuntimeException: descriptor returns inconsistent package set
Alan Bateman
Alan.Bateman at oracle.com
Fri Feb 10 17:43:57 UTC 2017
On 10/02/2017 17:03, Jim Connors wrote:
> One interesting thing though. jdeps on the scoreboard.jar file yields
> this:
>
> C:\tmp\scratch>jdeps -s --module-path . scoreboard.jar
> scoreboard -> com.jtconnors.socket
> scoreboard -> java.base
> scoreboard -> java.logging
> scoreboard -> java.xml
> scoreboard -> javafx.base
> scoreboard -> javafx.controls
> scoreboard -> javafx.graphics
> scoreboard -> javafx.media
>
> Whereas the jlink image includes additional modules:
>
> C:\tmp\scratch>reducedImage\bin\java.exe --list-modules
> com.jtconnors.socket
> java.base at 9-ea
> -> java.datatransfer at 9-ea
> -> java.desktop at 9-ea
> java.logging at 9-ea
> -> java.prefs at 9-ea
> java.xml at 9-ea
> javafx.base at 9-ea
> javafx.controls at 9-ea
> javafx.graphics at 9-ea
> javafx.media at 9-ea
> -> jdk.jsobject at 9-ea
> scoreboard at 1.0
Can you add -R (or -recursive) to the jdeps command? That should reveal
that javafx.graphics requires java.desktop and jdk.jsobject.
-Alan
More information about the jigsaw-dev
mailing list