Exporting - the wrong default?
David M. Lloyd
david.lloyd at redhat.com
Fri Jul 29 16:47:21 UTC 2016
On 07/29/2016 10:14 AM, Alan Bateman wrote:
> On 29/07/2016 15:55, David M. Lloyd wrote:
>
>> This is better than the alternative suggestion: just export everything
>> to everybody, defeating the point of the security measure in the first
>> place.
>
> Just to check. Do you mean `exports dynamic *` or some variant of? If so
> then it would mean that all public types in the module would be
> accessible to code outside of the module. Non-public types would not be
> accessible (ignoring wormholes when Lookup objects leak out,
> setAccessible, ... for this discussion).
Right, I'm referring to "exports dynamic *".
--
- DML
More information about the jigsaw-dev
mailing list