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:17:10 +05:30
co-authored by Claude Sonnet 5.5
parent 876ae1bb5c
commit e5877f4bcf
35 changed files with 445 additions and 1 deletions
+15
View File
@@ -0,0 +1,15 @@
$ java -XX:AOTCacheOutput=app.aot -cp app.jar AotApp (25.0.5.1)
1334 items, first 1 | 666 items, first 3 bb
Temporary AOTConfiguration recorded: app.aot.config
Launching child process java to assemble AOT cache app.aot using configuration app.aot.config
Picked up JAVA_TOOL_OPTIONS: -Djava.class.path=app.jar -XX:AOTCacheOutput=app.aot -XX:AOTConfiguration=app.aot.config -XX:AOTMode=create
Reading AOTConfiguration app.aot.config and writing AOTCache app.aot
AOTCache creation is complete: app.aot N bytes
Removed temporary AOT configuration file app.aot.config
startup, 5 runs each, wall milliseconds (indicative, machine dependent):
run 1: plain 89 ms with -XX:AOTCache 66 ms
run 2: plain 94 ms with -XX:AOTCache 73 ms
run 3: plain 79 ms with -XX:AOTCache 58 ms
run 4: plain 78 ms with -XX:AOTCache 58 ms
run 5: plain 77 ms with -XX:AOTCache 61 ms