Prototype: more extensible and human-readable module metadata
david.bosschaert at gmail.com
Fri Mar 23 07:37:35 PDT 2012
On 23 March 2012 13:54, Alan Bateman <Alan.Bateman at oracle.com> wrote:
> On 23/03/2012 07:43, Shi Jun Zhang wrote:
>> Here is the commentary on module-metadata formats  for your reference
>> if you have not read it. Also there is a requirement of extensible module
>> declarations in that document, but it seems has not been implemented yet.
> It's been there for a long time, anything after the final "}" will be passed
> through by the compiler to the ModuleData attribute.
The problem with that is that it is out of context. For example, in
OSGi version numbers are assigned to exported packages. Having that
version information separate from the actual exports is inconvenient,
causes a lot of duplication (the exported packages will need to be
repeated for the version information) and error-prone (the info may
get out of sync).
More information about the penrose-dev