Why package deps won't work (Was: Re: Converting plain JARs to Java modules)
Brian Pontarelli
brian at pontarelli.com
Tue Nov 15 08:43:16 PST 2011
On Nov 15, 2011, at 7:42 AM, Rémi Forax wrote:
> On 11/15/2011 03:13 PM, Brian Pontarelli wrote:
>> I'm not at a computer to reply properly, but a few things about packages that come to mind are:
>>
>> - package visibility
>> - package-info.java
>> - the Package class
>> - package versioning
>>
>> Yank these out, specifically package-private visibility, and packages are just names. Otherwise, it seems to me that they are part of the type system.
>>
>> Sent from my iPad
>
> No apart the package visibility that impact the type system,
> all other items are just here to provide a way to put/get annotations on package
> thus are not part of the type system.
You also have sealing of packages, package versioning (in the manifest) and annotations, like you mentioned. So, not 100% part of the type system, but part of the platform for sure.
-bp
More information about the jigsaw-dev
mailing list