Unsafe and AwkwardStrongEncapsulation

Alan Bateman Alan.Bateman at oracle.com
Fri Nov 4 09:09:43 UTC 2016


On 04/11/2016 08:57, Jochen Theodorou wrote:

>
> That won´t get me access to private fields and constructors in Unsafe 
> with AwkwardStrongEncapsulation, right? So I see exported, but I don´t 
> know what you mean with "open" here. I thought we do not have open 
> modules yet... if we have, I missed the way to declare them and what 
> they now actually do.
Unsafe is at the level of peeking and poking at fields in objects, there 
is no access control.

The proposal for open modules (and open packages) was sent to 
jpms-spec-experts last week [1].

-Alan

[1] 
http://mail.openjdk.java.net/pipermail/jpms-spec-experts/2016-October/000430.html


More information about the jigsaw-dev mailing list