Prototype: more extensible and human-readable module metadata
David Bosschaert
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 [1] for your reference
>> if you have not read it. Also there is a requirement of extensible module
>> declarations[2] 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.
>
> -Alan
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).
Best regards,
David
More information about the penrose-dev
mailing list