Package net.jrodolfo.java_evolution.java26
package net.jrodolfo.java_evolution.java26
Examples and explanatory notes for features introduced in Java 26.
Java 26 adds HTTP/3 support for the HTTP Client API, starts warning about deep-reflective final-field mutation, removes the Applet API, continues preview and incubator APIs, and advances runtime work around ahead-of-time startup data, G1, and vector computation. Nine Java 26 topics are executable examples: HTTP/3, final-field restrictions, Applet API removal, AOT object caching, PEM encodings, Lazy Constants, primitive patterns, Structured Concurrency, and the Vector API. G1 synchronization reduction remains an explanatory module because its runtime behavior is not represented by a focused portable example.
-
ClassDescriptionDemonstrates Java 26 HTTP/3 support in the HTTP Client API.Demonstrates the second preview of PEM encodings of cryptographic objects from JEP 524.Result from one child process invocation.Result from compiling and running the generated preview source.Demonstrates primitive patterns, previewed for the fourth time in Java 26 by JEP 530.Result from one child process invocation.Result from compiling and running the generated preview source.