Java 26 and 27: the latest releases
What the two newest feature releases added, from HTTP/3 and AOT object caching to G1 everywhere and compact object headers by default, and the previews to watch.
After the Java 25 LTS, two feature releases followed: Java 26 (17 March 2026) and Java 27 (15 September 2026). They're short-term releases, supported until the next one, so most production systems stay on Java 25. They show where Java is heading, though, and many of their improvements will be in the next LTS, Java 29 (expected September 2027).
This lesson lists their final features from the official OpenJDK release pages (openjdk.org/projects/jdk/26 and /27).
01Java 26: final features
| JEP | Feature | What it means for you |
|---|---|---|
| 500 | Prepare to Make Final Mean Final | Warnings when deep reflection changes final fields, preparing for a future where final really can't be changed |
| 504 | Remove the Applet API | Applets, deprecated since Java 9, are gone |
| 516 | Ahead-of-Time Object Caching with Any GC | Faster start-up through the AOT cache, now with every garbage collector, including ZGC |
| 517 | HTTP/3 for the HTTP Client API | HttpClient can use HTTP/3 (QUIC) |
| 522 | G1 GC: Improve Throughput by Reducing Synchronization | Better throughput for the default collector, at no cost to you |
Previews and incubators in Java 26: PEM encodings of cryptographic objects (second preview), Structured Concurrency (sixth preview), Lazy Constants (second preview), Primitive types in patterns (fourth preview), Vector API (eleventh incubator).
HTTP/3 with the HTTP client
HttpClient client = HttpClient.newBuilder()
.version(HttpClient.Version.HTTP_3) // Java 26+
.build();The client falls back to HTTP/2 or HTTP/1.1 when a server doesn't support HTTP/3.
Loading the rest of the lesson…