Question about FileManagers in Jigsaw.

Jonathan Gibbons jonathan.gibbons at oracle.com
Tue Mar 13 09:10:42 PDT 2012


On 03/13/2012 08:47 AM, Alan Bateman wrote:
>
>
> Jon is the best person to consult with on the sequencing. I think that 
> one possible approach is to use the bootstrap JDK + javac (with some 
> Jigsaw emulation) to compile the base module and then run in module 
> mode to get us to an initial module image. Once we have an image with 
> the base + langtools modules installed then it should be easier sailing.


You need what I normally call the "hybrid javac", what you call 
"bootstrap javac" which is latest code compiled to run on boot jdk.

That is enough to compile the base module, with a ZeroMod module resolver.

I would think you would run these classes in /legacy/ mode to get to an 
initial module image.

Hopefully, javac is the only part of the system that needs to be built 
twice, i.e. the same as is the case now.

-- Jon



More information about the jigsaw-dev mailing list