September 24, 2023


Your Partner in the Digital Era

Java 19 Carries on Evolution of Open Resource Programming Language

Oracle officially announced the general availability of Java 19 on Sept. 20, marking the second launch of the widely applied open resource programming language in 2022.

Java 19 follows Java 18 by 6 months and proceeds to deliver new abilities that intention to make the programming language much easier for builders to use, even though providing more functions.

Java 19 is an incremental release and will only be supported for 6 months. As portion of its fast launch cycle, Java characteristics are grouped into larger sized assignments that determine a concentrate on ability that will be enabled by using the introduction of person Java features that are detailed by the JDK Enhancement Approach (JEP).

The JEPs included in Java 19 assistance progress 3 key initiatives, Georges Saab, senior vice president of development, Java System at Oracle and chair of the OpenJDK Governing Board, explained to ITPro These days.

“A person is for Undertaking Loon, which is about scalability the next is Job Amber, which is about evolution of the Java language by itself and syntax and ultimate one is Project Panama, which is about interoperability with other languages,” Saab mentioned.

Bringing New Patterns to Java 19 Progress

Inside of of the Challenge Amber grouping, Java 19 rewards from a pair of enhancements that are now in preview.

The 1st is a Record Patterns capability. The function is defined in JEP 405, which extends pattern matching to convey more refined, composable knowledge queries. JEP 427 gives Pattern Matching for Change, which improves Java sample matching for swap expressions and statements.

As aspect of Venture Panama, Java has been expanded in current many years to greater assist features that are usually exterior of Java. For instance, Java 15, which was introduced in September 2020, introduced JEP 383 as a new API for Foreign Memory Obtain. In Java 19, there is a even further extension of overseas memory with JEP 424.

“Task Panama is an overarching task to enhance the connections in between Java and non-Java APIs,” Saab said. “If we consider there will often be incremental improvements that can be made that will assistance builders using non-Java APIs, we will continue to innovate in those people regions.”

Certain to what’s new in Java 19 with JEP 424, just one critical adjust in this launch is more regulate about allocation and deallocation of foreign memory via the “MemorySession” API, he reported. Also, there are enhancements about the foreign function API.


Also new to Java 19 for Task Panama is JEP 426 which can help boost functionality with an API to express vector computations.

Java functionality will very likely also gain from the Venture Loon work for digital threads that has made its way into Java 19.

“Virtual threads are lightweight threads that dramatically decrease the hard work of composing, maintaining, and observing high-throughput concurrent applications,” JEP 425 states.

Java 19 will be the ultimate release of Java in 2022. The subsequent incremental release, Java 20, is presently scheduled for March 2023. Java 21, established for release in September 2023, will be a Long Expression Help (LTS) update that will be supported for five many years. The latest Java LTS release is Java 17, which grew to become commonly offered in September 2021 and will be supported until at least 2026.

About the writer

Sean Michael Kerner is an IT guide, technology fanatic and tinkerer. He consults to marketplace and media organizations on technologies concerns.