Keeping up with Java: Look at all these new features!
summary
Modularity arrives with JDK 9 and jlink builds runtime images so a Hello World runtime drops from ~350MB to under 10MB, but internal APIs get encapsulated and may need command flags; JDK 10 adds local-variable var plus application class-data-sharing, Graal JIT as an experimental Java JIT and NVRAM heap support; JDK 11 is LTS, adds single-file launch, HTTP/2 client, TLS1.3 and experimental ZGC; JDK 12–13 introduce preview switch expressions and text blocks; future work includes Project Valhalla (inline classes) and Project Loom (lightweight threads).
AI-written summary · about
chapters (17)
- 0:00Intro
- 2:06Big And Small Changes
- 3:19Java Platform Module System JPMS
- 8:11jlink: The Java Linker (JEP 282)
- 10:35Onwards And Compatibilit
- 15:26Compatibility Not Guaranteed
- 16:53Simple Uses of Local Variables
- 27:48330: Launch Single File Source Code
- 29:38Single File Source Code Shebang
- 37:47Modules Removed
- 39:27Switch Expressions
- 42:06New-Style Switch Expression
- 43:38Switch Expression: Code Blocks
- 47:57Text Blocks
- 52:21Project Valhalla
- 57:30Zulu Community
- 57:55Zulu Enterprise
