Separate logging for JPMS module/layer
Alan.Bateman at oracle.com
Mon Oct 8 14:50:06 UTC 2018
On 08/10/2018 15:37, Luke Hutchison wrote:
> I looked for documentation on how to grant runtime permissions for a
> specific module via the commandline or in a policy file, but I couldn't
> figure out how to do this. The closest I found was "grant codeBase <URL>"
> -- is this the right mechanism, used with the module location URL?
For exploded modules or modules in JAR files then it's the code base.
For the modules in the run-time image then it's a jrt URL - the syntax
is documented in JEP 220.
More information about the jigsaw-dev