Late for the train
Alex Buckley
alex.buckley at oracle.com
Thu Jul 19 17:06:08 PDT 2012
On 7/19/2012 4:54 PM, Alex Buckley wrote:
> Because the compiler needs to know every type's module membership
> (module name _and_ version), and assuming you want to compile
> multiple modules in one compiler invocation, and assuming you might
> start compilation with only sources (not JARs), it becomes necessary
> to rework your Java compiler - a lot.
I want to add that this is where the "module declarations in Java source
code" theme comes from. A module declaration which gives name and
version for the purpose of compile-time and runtime access control is
_by definition_ a first-class entity in the Java platform. Hence a
module is declared via a Java language construct with syntax similar to
constructs which declare other entities (classes, interfaces).
Alex
More information about the jigsaw-dev
mailing list