~/talk

Frontiers of Access Controls: Modules and Nestmates

Talkat JVM Language Summit 2017 · 2017-07-31..08-02· [java, software-architecture]
links:none on file
slides:none on file

Java SE 9 implements a module system that enforces type accessibility by checking module reads + exports checked at runtime during bytecode resolution and preserves performance via shortcuts for same-module or same-package cases; the unnamed module reads everything and exports to all for backward compatibility. Jigsaw tooling includes module-info.java, javac and jlink and a module path versus classpath model. JEP 181 proposes nestmates allow private access by adding classfile attributes (NestHost/NestMembers) and a dynamic route via MethodHandles.Lookup private defineClass to eliminate synthetic accessors and tighten security.

AI-written summary · about

  1. 0:00Intro
  2. 4:49What is a Module?
  3. 6:12How do you define a Module? - Module Descriptor
  4. 10:15Reliable Configuration: The module graph
  5. 11:34Where do you deploy Modules?
  6. 12:23Class Path vs. Module Path
  7. 16:45Backward Compatibility: Unnamed Module
  8. 18:21Type Access Check: Java SE 9 Target Type T is accessible to Type S if
  9. 20:20Bytecode Resolution and Access Controls - Sample Bytecodes that resolve symbolic Type References
  10. 22:49JVM Method Resolution: Access Checks
  11. 24:12Java SE Library Access Checking
  12. 28:38Nestmates Use Case: Nested Class Trampolines
  13. 31:19Proposed JVMS 55.4.4 Access Control Changes
  14. 32:32Member Access Check: Proposal for Nestmates
  15. 34:09Nestmates Use Case: Unsafe.defineAnonymousClass
  16. 35:42Exploring Evolution: Not based on unsafe
  17. 38:10Nestmates Access: Implementation changes required
  18. 39:27Invokespecial Examples: , super, local I
  19. 40:35JVMS 9 Invokespecial Restrictions (non.)
  20. 44:35Nestmates Open Issues
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.