Extending java.base module

Daniel Fuchs daniel.fuchs at oracle.com
Wed Feb 15 16:01:45 UTC 2017


Hi Volker,

On 15/02/17 15:52, Volker Simonis wrote:
> Hi Max,
>
> I'm not an jigsaw either, but wouldn't your solution break a tool like jlink?
>
> In other words, if an application uses your code and the developer
> uses jlink to create a run-time image, wouldn't that image fail to
> execute his application because jlink fails to see that java.base
> depends on java.security.jgss in that special case?

In that specific case it's not java.base that depends
on java.security.jgss, but the application itself.

So I would expect the application code to either require
java.security.jgss, or some higher level module for that
itself requires java.security.jgss, or jlink to be run with
command line options that explicitly add java.security.jgss
to the image.

best regards,

-- daniel

>
> Thanks,
> Volker



More information about the jigsaw-dev mailing list