Frontiers of Access Controls - Modules and Nestmates in Java
Explore the frontiers of access controls in Java, focusing on modules and nestmates. Dive into the implementation of access control mechanisms added in Jigsaw for both the JVM and core libraries. Learn about the evolving nestmate proposal (JEP 181) and its potential applications for Java nested classes, sealed classes, and dynamic class addition to packages or nests. Understand the concepts of modules, module descriptors, reliable configuration, and deployment strategies. Examine type access checks, bytecode resolution, and JVM method resolution in Java SE 9. Investigate the proposed changes for nestmates, including use cases for nested class trampolines and anonymous class definition. Analyze invokespecial examples and restrictions, and discuss open issues related to nestmates.