Module compilation unit grammar

Alex Buckley alex.buckley at oracle.com
Fri Mar 25 16:41:12 PDT 2011


On 3/25/2011 11:58 AM, Jonathan Gibbons wrote:
> On 03/11/2011 03:51 PM, Alex Buckley wrote:
>>
>>
>> - require/local/optional/export/provide/permit are restricted keywords.
> 
> .... you did not include "module".   Is that deliberate or an oversight?

Yes. The future for the 'module' accessibility modifier is unclear, but 
even the appearance of 'module' in a module compilation unit's 
declaration should be a restricted keyword.

Alex



More information about the jigsaw-dev mailing list