[jsr294-modularity-eg] Changes to the superpackage model

Bryan Atsatt bryan.atsatt at oracle.com
Thu Apr 3 12:37:46 EDT 2008


Doug Lea wrote:
> (Using "@Import" strikes me as strange. Would either of
> "import module" or "module import" work?)
While it is seems appealing to add such syntax, I am not in favor of 
doing so: import-by-name is a big mistake (module refactoring becomes 
very difficult), and I'd hate to bake it into the language. The OSGi 
crowd has long experience with this mistake, and is quite vocal about it.

At least with annotations we have the flexibility to fix this :^(. 


More information about the jsr294-modularity-eg mailing list