javac support for -modulepath

Jonathan Gibbons Jonathan.Gibbons at Sun.COM
Fri May 1 10:19:32 PDT 2009


I'm working on it, and it is beginning to come together.  The changes
to support the new module layout are somewhat bigger than expected:
having a module "share the package namespace" enabled me to
leverage a lot of code.   Last night I uncovered a problem with the
combination of code in the unnamed package with module path, but
this morning I have a proposed solution to try out.   While not so  
important
in itself, it impacts the API the compiler uses to write files in the
correct location.

All the work so far is independent of hooking it to the Jigsaw module  
system.
I'm currently using a dummy/toy module resolver (even simpler than  
Alex's
so-called ZeroMod.)

-- Jon



On May 1, 2009, at 10:10 AM, Mark Reinhold wrote:

> Jon -- How close are you to having a javac that supports the new
> -modulepath option, and the corresponding modularized output
> directory, proposed in the slides that you and Alex put together?
>
> Is this something that can be finished independently of hooking up
> javac itself to the module system?
>
> If support for -modulepath will come later rather than sooner then
> for testing purposes I can hack up a temporary jmod subcommand to
> convert the current output-directory format to the new one, but if
> you can get this done sooner then I won't bother.
>
> - Mark




More information about the jigsaw-dev mailing list