JDK 24, set for release on March 18, 2025, will include improvements to the G1 garbage collector and introduce warnings for unsafe uses of the Java Native Interface (JNI). Other potential features could follow previews from JDK 23, such as enhancements to the class-file API, stream gatherers, structured concurrency, and the
Sort: