Question about FileManagers in Jigsaw.
Alan Bateman
Alan.Bateman at oracle.com
Tue Mar 13 07:06:14 PDT 2012
On 13/03/2012 12:49, Fredrik Öhrström wrote:
> :
> Good!
> How do you compile and run the bootstrap javac?
>
> //Fredrik
I think you are asking how should we bootstrap the Jigsaw build.
The current build, as you know, is essentially a post-processing step so
the classes in the jdk repository are compiled as they have always done
using the bootstrap JDK + langtools. The launchers for the module-aware
tools (including jmod) that are used in the post-processing step are
built with -Xmode:legacy so they can be used in the build to create the
module library and compile the module-info sources and get us to a
module image.
With a new build, where we compile the platform as a set of modules,
then we have to work out the steps to get us to the point where we have
langtools and a base module. Whether that is in module path layout or a
base image isn't clear to me at this point. I think, and Jon is really
the right person to answer this, that we have to be able to compile the
base module with the bootstrap JDK + langtools that has some minimal
emulation of Jigsaw (or javac with ZeroMod that we have today). There
are details to work through. Another thing about the new build, and
something that Jon mentioned recently, is that the jaxp, jaxws and corba
repos will need to be compiled much later than they are done now (they
are compiled with the bootstrap JDK/javac today).
-Alan.
More information about the jigsaw-dev
mailing list