java.time.ZoneId.systemDefalut() overhead

Roger Riggs Roger.Riggs at Oracle.com
Mon Feb 23 16:13:26 UTC 2015


Hi,

My understanding is that only whole classes can be explicitly exported 
from a module.
If not exported, they are module private.

Roger

On 2/23/2015 10:54 AM, Peter Levart wrote:
> On 02/23/2015 03:32 PM, Roger Riggs wrote:
>> Hi,
>>
>> Does it make sense that the shared secret mechanism may no longer be 
>> needed in JDK 9,
>> at least within modules, since the module access controls should 
>> provide the desired scoping.
>>
>> Roger
>
> Will there be a language-level "module" access modifier for 
> classes/fields/methods that will allow only intra-module access?
>
> Regards, Peter
>
>>
>> On 2/23/2015 6:24 AM, Daniel Fuchs wrote:
>>>
>>> Agreed. I'm just not a big fan of using SharedSecrets if that can
>>> be helped. I just wanted to see if there was other alternatives to
>>> explore. 
>>
>




More information about the core-libs-dev mailing list