hg: jigsaw/jigsaw/jdk: Remove module annotation support
Jesse Glick
jesse.glick at oracle.com
Fri Jan 27 08:12:27 PST 2012
On 01/27/2012 10:19 AM, Alan Bateman wrote:
> Anything after the module declaration is passed through by the compiler into the ModuleData attribute.
lang-vm.html [1] does not seem to mention this but perhaps it is too old. Seems I can indeed write
module foo {}
hibernateconfig "stuff.xml";
Hi mom!
and that compiles. So, how would such things be checked for syntax or semantics? How would different tools avoid clobbering each other's metadata?
Annotations at least have a well-defined syntax, and a well-defined mechanism for semantic validation (JSR 269).
[1] http://openjdk.java.net/projects/jigsaw/doc/lang-vm.html
More information about the jigsaw-dev
mailing list