Why can modules not be annotated?
Peter Kriens
peter.kriens at aqute.biz
Mon Sep 28 16:44:45 UTC 2015
In [lang-vm][1] I found:
‘A module declaration may not be annotated.’
I was surprised that modules (and their clauses) could not be annotated like package-info.java. Since the source syntax is not extensible, annotations could have been used to provide meta data for other module systems. This would mitigate some of the concerns of using a binary file to encode the module data.
More information about the jpms-spec-experts
mailing list