New Features Announced, JDK 18 All Set To Release In March

Releasing in March 2022, the proposed features of Java 18 include a vector API, adopting UTF-8 as the default character set, a simple web server and more.

 

In a new update for JDK 18, nine new features for the upcoming Java 18 were released.

Upgrades for Java are released every six months with the last upgrade Java 17, released in September.

Java 18 is in the “ramp-down phase one” which means no further changes proposal will be included in the release. Hence the feature set is now frozen.

The following features are officially released on the OpenJDK page: a simple web server, a service provider interface,  a vector API, a reimplementation of core reflection, code snippets, a UTF-8 charset, the second preview of pattern matching for switch statements, the second incubator of a foreign function and memory API, and the deprecation of finalization.

The main changes of Java 18 are:

  1. The default character set for all operating systems will be UTF-8 in the future irrespective of any particular language and locale settings.
  2. You can quickly start a simple web server using jwebserver command (or the SimpleFileServer class)
  3. You get a powerful tool, that is,@snippet tag,  to integrate the source code snippets into your JavaDoc documentation.
  4. The “Internet-Address Resolution SPI” feature will allow replacing the standard resolver for IP addresses, which becomes helpful for testings.
  5. “Pattern Matching for switch”, “Vector API”, and “Foreign Function & Memory API”, these preview and incubator features were each sent for the next incubator or preview round.
  6. Thread.stop() and finalization has been marked as “deprecated for removal”.

You can download the early access version of JDK 18 here

Consult our team of experts and app developers at Markovate to guide you in digital products and app development using modern up-to-date frameworks and technologies.

 

Recent Posts

Beware! This Android Virus Automatically Subscribe To Premium Services By Obtaining Your OTP

According to a recent analysis by Microsoft's 365 Defender Team, a kind of Android virus…

July 4, 2022

McDonald’s And IBM Partner For Hyper-Personalized Drive – Thru Experience

Both large and small brands have passed a "tipping point" when most of their interactions…

July 1, 2022

Hangouts Are No Longer Available! Google Notifies Users To Switch From Hangouts To Chats

Google initially stated that customers would switch from Hangouts to Chat in 2020; after a…

June 30, 2022

Microsoft To End Windows 8.1 Support In January 2023

Microsoft will stop offering support for Windows 8.1 in a few months. According to a…

June 29, 2022

Apple Is Developing An M3 Processor For Next-Generation Mac Devices

Apple recently debuted a few MacBooks equipped with its new Apple Silicon M2 chipset, which…

June 28, 2022

Google Says, Hackers Used ISPs To Spread The Hermit Spyware On iOS & Android Devices

According to research from Google's Threat Analysis Group (TAG), a sophisticated spyware operation uses internet…

June 27, 2022