Exporting - the wrong default?

Alan Bateman Alan.Bateman at oracle.com
Fri Jul 29 15:14:25 UTC 2016


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).

-Alan.


More information about the jigsaw-dev mailing list