JDK 9 Language, Tooling, and Library Features
summary
JDK 9 delivers modularity via Project Jigsaw with module-info files and runtime enforcement, adds an interactive REPL jshell, and gives javac a built-in --release flag to reliably cross‑compile (supports N..N-3) plus multi-release JARs so one artifact can target multiple JDKs. Javadoc gains an HTML5 output and client‑side search box. Language tweaks: safevarargs on private methods, effectively‑final try‑with‑resources, diamond for anonymous classes, private interface methods, underscore reserved, and a deprecation API with forRemoval; libraries add compact strings and collections factory methods.
AI-written summary · about
chapters (37)
- 0:00Start
- 1:44Overview of What's in Jdk 9
- 2:34Jdk Enhancement Proposals
- 3:00Capsule Summary of Jdk 9
- 5:29Jdk 9 Bug Fixes
- 6:03Stewardship
- 9:51Behavioral Change
- 11:58Tooling
- 13:30Declare Variables
- 16:16Packaged Filtering
- 16:34Java Doc Checks
- 17:17Java Doc Search Box
- 18:05Modules
- 19:31Cross Compiling
- 24:21Multi Release Jar Files
- 25:13Jdk Platform Specific Overrides
- 29:11Private Method
- 29:36Affected Final Variables and Try with Resources
- 30:02Exception Handling
- 30:15Structure of the Resources To Be Managed in Jdk 7
- 32:40Diamond with Anonymous Classes
- 33:41Pipe Inference
- 34:13Capture Conversion
- 35:49Language Interactions
- 38:48Private on Interface Methods
- 39:36Deprecation and Imports
- 41:08Security Benefits
- 42:06Suppress Warnings
- 43:40What Does Deprecation Mean
- 43:59Deprecation Annotation
- 44:50Static Analysis
- 45:06Library Updates
- 45:38Compact Strings
- 46:18Collections
- 46:57Static Factory Methods
- 49:00Questions
- 49:31Array Slicing








