Java Core & JVM (50 Qs)•Part 3: JVM Internals, Low-Latency Systems & Production Tuning (25 - 35)
The Java Module System (JPMS / Project Jigsaw).
senior LeveljavaJVM Internals
In Simple Words:
Introduced in Java 9 (module-info.java):
- Provides Strong Encapsulation: Internal implementation packages cannot be accessed by external consumers, even via reflection!
- Explicit dependency graphs via
requiresandexports.