tools in modules.config
Jonathan Gibbons
Jonathan.Gibbons at Sun.COM
Mon Mar 15 14:49:58 PDT 2010
I'm mildly surprised by the layout of the tools and related modules. I'm
curious if the current layout is by necessity or choice.
FWIW, apt and javadoc (and javah) depend on javac, but not the other way
around.
By analogy with javah and javap, I would have expected the apt classes
to live in the apt module, and likewise the javadoc and doclets classes
to live in the doclets module.
Are there any dependencies you discovered that makes it necessary to
have the classes as they are?
-- Jon
>
>
> module tools {
> include com.sun.tools.apt.**;
> include com.sun.tools.javac.**,
> com.sun.source.**;
> include com.sun.tools.doclets.**;
> include com.sun.tools.javadoc.**,
> com.sun.javadoc.**;
> exclude com.sun.tools.javac.Launcher;
> }
>
> module javac {
> class com.sun.tools.javac.Main;
> }
>
> module apt {
> class com.sun.tools.apt.Main;
> }
>
> module javadoc {
> class com.sun.tools.javadoc.Main;
> }
>
> module javah {
> include com.sun.tools.javah.**;
> class com.sun.tools.javah.Main;
> }
>
> module javap {
> include com.sun.tools.javap.**,
> com.sun.tools.classfile.**;
> class com.sun.tools.javap.Main;
> }
More information about the jigsaw-dev
mailing list