degenerate module-info

Alex Buckley Alex.Buckley at Sun.COM
Fri Feb 20 16:00:04 PST 2009


Jonathan Gibbons wrote:
> In the context of the proposed specs [1], is it permissable
> for a degenerate module to not have its own module
> compilation unit?

Yes. Source files (either individually, or via their package compilation 
unit) can claim "module M;" without any module compilation unit 
existing. Even if a module compilation unit for module M does exist, it 
need not declare a version or dependencies, in which case its utility is 
limited to annotations.

Alex



More information about the jigsaw-dev mailing list