What is new in Java 18

Yatin B.Yatin B.
1 min read

Date: 2023-12-04

Java 18, released in March 2022, introduced several features. Key improvements include UTF-8 as the default charset (JEP 400), a simple web server for educational purposes (JEP 408), a new @snippet tag for improved Javadoc documentation (JEP 413), and a reimplementation of core reflection using method handles (JEP 416). The Vector API (JEP 417) enhances performance, while JEP 418 introduces a new SPI for internet address resolution. The Foreign Function & Memory API (JEP 419) aims to replace JNI, and finalization is deprecated (JEP 421). These updates improve performance, developer experience, and code maintainability.

Read more: https://examples.javacodegeeks.com/what-is-new-in-java-18/

0
Subscribe to my newsletter

Read articles from Yatin B. directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Yatin B.
Yatin B.