Privileged module idea

Nikita Lipsky nlipsky at excelsior-usa.com
Fri Oct 14 03:27:59 UTC 2016


Hi all,

 

Recently I have described an idea of "privileged module" --
http://mail.openjdk.java.net/pipermail/jigsaw-dev/2016-October/009636.ht
ml
<http://mail.openjdk.java.net/pipermail/jigsaw-dev/2016-October/009636.h
tml>  :

 

"privileged module" may reflect on any unexported (and exported) type of
other resolved modules of a layer that it belongs to.

DI/JPA frameworks are subjects for "privileged modules".

 

"Privileged module" moves responsibility of weakened strong
encapsulation from user modules (via weak module or dynamic export
concepts) to framework modules.

 

I would greatly appreciate if someone could give me any feedback on it.

 

Regards,

Nikita

 



More information about the jigsaw-dev mailing list