Configuration.resolveRequires want providers of services to be in an exported package

Alan Bateman Alan.Bateman at oracle.com
Sat Nov 19 18:38:39 UTC 2016



On 19/11/2016 18:02, forax at univ-mlv.fr wrote:
> Ok, find the bug, obvious in retrospect,
> there is no way to declare a concealed package using the ModuleDescriptor.Builder so my configuration miss concealed packages thus the configuration that i try to verify is ill formed.
>
> The builder should be able to declare concealed packages or all packages.
>
Is there any reason why you can't use the `contains` method, as in :
ModuleDescriptor.module("m1").requires("m2").exports("p").contains("p.internal").build();

-Alan.


More information about the jigsaw-dev mailing list