Correct, in your case, it won’t work.

Mandy

> On Jan 10, 2017, at 4:09 PM, Wang Weijun <weijun.w...@oracle.com> wrote:
> 
> Ah, when I said exploded build, I meant jdk/modules/java/base/.../*.classes. 
> There is no native files there so I guess not supported.
> 
> --Max
> 
>> On Jan 11, 2560 BE, at 1:12 AM, Mandy Chung <mandy.ch...@oracle.com> wrote:
>> 
>> 
>>> On Jan 10, 2017, at 6:29 AM, Wang Weijun <weijun.w...@oracle.com> wrote:
>>> 
>>> $ jlink --module-path ../build/windows-x64-debug/jdk/modules/ --add-modules 
>>> jdk.jartool --output /tmp/jartool
>>> Error: java.lang.RuntimeException: Module jdk.jartool's descriptor returns 
>>> inconsistent package set
>> 
>> jlink in the exploded build works if you specify the proper module path. The 
>> module path should be `images/jmods` where JMOD files are found because 
>> java.base and jdk.jartools contains more than classes such as executables, 
>> shared libraries, etc.
>> 
>> Mandy
> 

Reply via email to