Add java25-features module: the 18 JEPs of JDK 25 with runnable demos, captured output and compile-error cases

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b5uFE41EgmSXEP4axJ
This commit is contained in:
asmhatre
2026-11-25 13:20:40 +05:30
co-authored by Claude Sonnet 5.5
parent 876ae1bb5c
commit 1fb1455734
36 changed files with 459 additions and 1 deletions
@@ -0,0 +1,9 @@
$ javac --release 25 --enable-preview src/StableValuesPreview.java && java --enable-preview StableValuesPreview (25.0.5.1)
calls before first use: 0
config loaded (call #1)
config loaded (call #1)
calls after two gets: 1
sq(3)=9
sq(3)=9
calls after list use: 2 (one element computed, four not)
trySet first: true, trySet second: false, value: a