jlink RuntimeException: descriptor returns inconsistent package set

Alan Bateman Alan.Bateman at oracle.com
Fri Feb 10 16:10:57 UTC 2017


On 10/02/2017 01:47, Jim Connors wrote:

> :
>
> Is a JDK9 version of jar required to build the JAR file?  If so, then 
> I wonder why the example I furnished, with com.jtconnors.socket, 
> worked?  It was built the same way.
>
Can you re-create the JAR file for scoreboard with JDK 9's jar tool as a 
workaround for now? The reason you don't see the issue with 
com.jtconnors.socket is that it doesn't have any concealed packages and 
that is where jlink is tripping up.

-Alan


More information about the jigsaw-dev mailing list