[jsr294-modularity-eg] iJam
Alex Buckley
Alex.Buckley at Sun.COM
Tue Sep 18 16:05:53 EDT 2007
Rok Strnisa wrote:
> JAM refers to the proposed Java Module System. That is, the
> combination of JSR-277 (its Early Draft) and JSR-294 (its Strawman
> proposal).
The paper raises two issues:
1) Sharing a type between two module definitions.
2) Selecting a type in a module definition when import policy and other
artifacts cause multiple types with the same name to be available.
From a 294 perspective, these issues do not arise because of the rule
that a type can only be a member of a single superpackage. Indeed, the
rule was expressly designed to keep things simple for a Java programmer
who just wants to group related packages together.
If 277 adopts the new import policies in the paper, they can be
expressed as annotations on a superpackage, as discussed in the 294
thread "Capturing dependency information" a few months ago.
Alex
More information about the jsr294-modularity-eg
mailing list