Please review: VM side of Jigsaw classpath mode support
Alan Bateman
Alan.Bateman at oracle.com
Sat Aug 25 04:31:46 PDT 2012
On 24/08/2012 23:53, David Holmes wrote:
>
> But I think we have a disconnect on what you are permitted to do via
> jmod and what is required for a functional JRE. Using --natcmd and
> --natlib and "jmod create" you can end up with the JRE binaries &
> libraries in a completely different location to everything actually
> associated with the base module.
>
> At a minimum this required layout must be documented. But preferably
> jmod would enforce it.
>
> David
I have a write-up of the modules image structure that I should probably
add to the project page. Note that this does not cover the layout of the
module library as that it implementation specific and will likely change
significantly over time.
In any case, the system module is mostly created by the build and it
creates this in the image with appropriate options so that the commands
and other files are in the expected locations. As I mentioned in the
previous mail we have some constraints and can't be too radical in
changing the image structure. So yes, this means the jmod command in the
build needs to get the options right. Same thing for other tools that
that create JRE images.
In any case, I don't see this as a concern for most developers, at least
not unless they are creating custom runtimes that don't have the base
image as their starting point.
-Alan
More information about the jigsaw-dev
mailing list