module-info-like syntax for modules.config
mr at sun.com
Fri Nov 6 08:35:04 PST 2009
> Date: Fri, 06 Nov 2009 09:37:36 +0000
> From: alan.bateman at sun.com
> Mandy Chung wrote:
>> I have modified the syntax to be more like that of module-info.java files.
> This looks very good!
Yes -- thanks Mandy!
> The next thing is to see if we can generate the
> module-info files - as you know, we'll probably need some way to include some
> aspects of the module declaration in the configuration file(s) so that it can
> be passed through to the generated module-info files.
Actually, the very next thing I'd like to see is the config files
updated for jdk7-b75, and then the M5 forest, so that I can use the
tool (crudely) in the Jigsaw build.
>> I also add a new "compat" module in modules.config to list the
>> deprecated classes.
> We might want to rename this to "deprecated" so that we can define a coarser
> grain "compat" module that includes "deprecated", legacy protocol and content
> handlers (in net-misc for now), legacy security code (in security-misc for
> now), the MIDI package, CORBA and out-of-favor APIs :-)
Hmm, but these aren't really deprecated APIs, they're private APIs
upon some unwise developers have come to depend. How about naming
this module "private-legacy" or something like that?
More information about the jigsaw-dev