Java 18 Arriving!
Matam Kirankumar
Engineering Manager at HashedIn by Deloitte with expertise in Cloud Computing
Due March 22, Java 18 incubates a vector API, previews pattern matching for switch statements, adopts UTF-8 as the default character set, and includes a simple web server.
This feature is available in Java 17 too which is LTS. Refer support roadmap below. Organizations can think about migration from Java 8 to next LTS version Java 17 to leverage new features although not fully required as Java 8 extended support is available till?2030.Java?21 LTS is due on September 23,2023 according to the roadmap
Some of the Specifics of the JDK 18 proposals include
1)Specifying UTF-8 as the default charset of the standard Java APIs
2)Code snippets in Java API documentation, involving the introduction of an?@snippet?tag for JavaDoc’s Standard Doclet, to simplify inclusion of example source code in API documentation.
3)Vector API
4)A second incubation of a?foreign function and memory API, in which an API is introduced through which Java programs can interoperate with code and data outside of the Java runtime
6)Deprecate finalization for removal?in a future release
7)With the?simple web server proposal, a command-line tool would be provided to start a minimal web server that serves static files only.
#java18 #java #arriving #java17 #openjedk #simplewebserver #foreignfunction