Oracle has announced its plans for the next version of the Java Development Kit (JDK), JDK 24, which is set to introduce 21 new features, including quantum-resistant cryptographic keys and structured concurrency. The release, due in March 2025, will focus on improving security, performance, and concurrency in Java applications.
The most notable feature among the proposed 21 is the introduction of quantum-resistant cryptographic keys, designed to secure Java apps against future quantum computing attacks. This feature includes a quantum-resistant module-lattice-based digital signature algorithm and a quantum-resistant module-lattice-based key encapsulation mechanism. These algorithms will provide an additional layer of security to Java applications, protecting them from potential quantum computing threats.
Another significant feature is the fourth preview of structured concurrency, which aims to simplify concurrent programming by introducing an API for structured concurrency. This feature will enable developers to write more reliable and efficient concurrent code, reducing the risk of thread leaks and cancellation delays.
In addition to these features, JDK 24 will also include flexible constructor bodies, ahead-of-time class loading and linking, and improvements to the Shenandoah garbage collector. The release will also deprecate the 32-bit x86 port, following a proposal to remove the Windows 32-bit x86 port, and will effectively deprecate any remaining downstream 32-bit x86 ports.
Other notable features in JDK 24 include warnings upon the use of memory-access methods in sun.misc.unsafe, synchronizing virtual threads without pinning, simple source files and instance main methods, and permanently disabling the security manager. The release will also include module import declarations, compact object headers, and a vector API, among others.
It's worth noting that JDK 24 is designated as a non-long-term support (LTS) release, which means it will only receive six months of premier-level support from Oracle. This is in contrast to LTS releases, such as JDK 21, which are supported for at least five years.
Early access builds of JDK 24 are already available at jdk.java.net, allowing developers to test and provide feedback on the new features. With its focus on security, performance, and concurrency, JDK 24 is set to be a significant release for the Java community, providing developers with the tools they need to build more robust and efficient applications.
As the Java ecosystem continues to evolve, releases like JDK 24 will play a crucial role in shaping the future of Java development. With its emphasis on quantum-resistant cryptography and structured concurrency, JDK 24 is poised to have a significant impact on the industry, and developers will be eagerly awaiting its release in March 2025.