Please review: VM side of Jigsaw classpath mode support
David Holmes
david.holmes at oracle.com
Fri Aug 24 04:29:49 PDT 2012
Hi Paul,
On 24/08/2012 8:29 PM, Paul Sandoz wrote:
> On Aug 24, 2012, at 2:47 AM, David Holmes<david.holmes at oracle.com> wrote:
>> On 24/08/2012 6:14 AM, Karen Kinnear wrote:
>>> The VM side of this webrev is at:
>>> http://cr.openjdk.java.net/~acorn/vm.classpath/webrev/
>>
>> I gave this a quick look over for curiosity. I didn't see anything obviously "strange".
>>
>> One query though. This path format:
>>
>> "%/lib/modules/jdk.base";
>>
>> is used to detect a modular runtime but I thought that the actual names of the directories used for a module library were configurable when jmod is used to create it?
>>
>
> I presume it is assuming there is an installation of a Java runtime, which i guess there has to be, where "%/lib/modules" is the location of the module library of that installation, and the directory underneath, "jdk.base", is an internal detail to the module library implementation.
Not quite an internal detail. I can do:
jmod create -L myjre
jmod -L myjre install jdk.base at 8-ea.jmod
to get a JRE - albeit non-functional. If there is a required layout then
the tools need to enforce that.
David
More information about the jigsaw-dev
mailing list