trying jigsaw-ea-95 jlink
Alan.Bateman at oracle.com
Sat Dec 12 18:54:52 UTC 2015
On 12/12/2015 18:40, Sebastian Sickelmann wrote:
> I am sorry i haven't tried it before.
> It works if i create jmods files with the jmod tool before i use jlink
> to create the distribution.
> Is is normal, that it doen't work with exploded modules on the filesystem?
> Or is it a bug, or missing feature?
Yes, there is an issue here. The issue is that link-time plugin that
generates the code for reconstituting module descriptors doesn't
currently handle the case where the module that doesn't have a
ConcealedPackages attribute. There is a TODO in the code and this issue
will sort itself out in time.
In the mean-time then you can workaround it by packaging the modules
with the jar or jmod tools and put the packaged modules on the module
path. These tools adds the ConcealedPackages attribute and avoids the
jlink plugin issue.
More information about the jigsaw-dev