images

Jonathan Gibbons Jonathan.Gibbons at Sun.COM
Mon Mar 15 07:31:25 PDT 2010


Mandy Chung wrote:
> Jonathan Gibbons wrote:
>> Mandy,
>>
>> Thanks.   Given an image, how can I tell what is in it?  Are there 
>> techniques that do not directly use jigsaw APIs?  For example, if 
>> jtreg is running on top of JDK 1.6, and is asked to run tests using a 
>> JDK 1.7 image, can it look at the image to determine what classes are 
>> available?
>
> There isn't necessarily a way.  The module content layout is specific 
> to the module library implementation.  Like the simple library that 
> puts all classes on disk in certain layout, the implementation might 
> change.  We could not count on the module content layout.
>
> Mark might have more to say about this.
>
> Mandy

jmod might give me what I want -- I can check the file system to see if 
jmod exists, and if it does, I can then exec it query for specific modules.

-- Jon



More information about the jigsaw-dev mailing list