hooking javac up to the module library
Jonathan Gibbons
Jonathan.Gibbons at Sun.COM
Wed Oct 21 13:51:27 PDT 2009
Mark,
When you get around to refactoring Resolver, here are some
considerations from javac that it might help to be aware of.
1) javac needs to be able to resolve multiple roots together, not just
one. The set of roots is derived from all the files on the command line.
2) javac has its own collection of modules to take into account, in
addition to any modules in the library. These modules come from the
command line and from the module path given on the command line.
3) for each module, javac needs to be able to determine the
corresponding ordered set of visible modules.
I don't expect jigsaw/module-system/module-resolver to directly address
these requirements, but it must at least be able to support them
indirectly. For those cases where it is not appropriate to support them
directly, it would help to have some suggestions on how javac can
support these requirements based on the API that you will be providing.
-- Jon
More information about the jigsaw-dev
mailing list