Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b5uFE41EgmSXEP4axJ
java25-features — Java 25 features with examples
Companion code for the ankurm.com article Java 25 Features with Examples (https://ankurm.com/java-21-to-25-lts-features/). The explanation lives in the article; this folder holds the runnable sources and the transcripts they produced. There is no docs/ folder: the depth is inside the article itself, in its expandable sections.
JDK25=/path/to/jdk25 ./run.sh # regenerates output/*.txt
src/compiles and runs unchanged on the JDK named in each output header (preview demos need--enable-preview, the Vector API needs--add-modules jdk.incubator.vector;run.shpasses both).broken/fails to compile on purpose; the compiler's own message is committed inoutput/15-compile-errors.txt.output/is real captured output, regenerated byrun.sh. Timings (the AOT startup runs, the JFR sample counts) are machine dependent: shape, not results.
Tested on: Eclipse Temurin 25.0.5.1+2 (JDK 25 GA was 2025-09-16).