JDK 19 / Java 19 officially released

Oracle recently released Java 19, a new version of the popular programming language and development platform. Java19 (Oracle JDK 19) delivers thousands of improvements in performance, stability, and security, including enhancements that further optimize the platform to help developers be more productive and drive enterprise innovation. Oracle Corporation will introduce the latest features of Java 19 at the 2022 JavaOne conference held in Las Vegas, USA from October 17 to 20, 2022, and at 0:00 am on September 21, 2022 at dev.java/ Open keynote speech.

The new Java version provides 7 JDK enhancement suggestions to help developers improve work efficiency, optimize the Java language and improve platform performance, stability and security

Georges Saab, senior vice president of Java Platform Development and chair of the OpenJDK Governing Board, said: "Our continuous collaboration with the developer community is the driving force behind the development of Java. tools to help them create innovative applications and services. The new and powerful Java 19 enhancements are a major achievement for the global Java community.”

The new version of the Java Development Kit (JDK) provides updates and improvements in 7 JDK Enhancement Proposals (JEPs). Most of the updates will be delivered as follow-up preview features to improve upon the functionality of earlier releases.

JDK 19 will provide language improvements from OpenJDK Project Amber (record mode and switch matching mode); native library enhancements to support interoperability with non-Java code (external functions and memory API) and leverage vector instructions from OpenJDK Project Panama ( Vector API); and the first preview of Project Loom (virtual threads and structured concurrency). This will greatly reduce the effort of writing and maintaining high-throughput concurrent applications in Java.

Arnal Dayaratna, research vice president of software development at IDC, said: "Java developers increasingly need tools to help them efficiently build powerful applications for deployment in cloud, on-premises and hybrid environments. The enhancements of Java 19 fully consider When it comes to these aspects, it is enough to say that the Java ecosystem is well positioned to meet the current and future needs of developers and enterprises."

Through a predictable release schedule, Oracle releases new Java features every six months to provide continuous innovation, as well as performance, stability and security improvements, making Java more popular in organizations and industries of all sizes. universal.

01

Important updates provided by Java 19 include

Language updates and improvements

  • JEP405: Record Schemas (Preview) - Enables users to nest record schemas and type schemas to create powerful, declarative, and composable forms of data navigation and manipulation, extending schema matching to enable more complex data queries.

  • JEP427: Switch Pattern Matching (Third Preview)—Test expressions according to certain patterns to perform pattern matching of switch expressions and statements, allowing users to express complex data-oriented queries safely and concisely.

Tool library

  • JEP424: Foreign Functions and Memory API (Preview) - Java programs can more easily interoperate with code and data outside of the Java runtime. By effectively calling external functions (that is, code outside the JVM) and safely accessing external memory (that is, memory that is not managed by the Java Virtual Machine [JVM]), the API can call native libraries and process native data through a pure Java development model, This improves ease of use, performance, flexibility and security.

  • JEP426: Vector API (Four Incubation Stages) - Allows vector computations to be expressed in a way that compiles reliably at runtime to vector instructions on supported CPU architectures, thereby achieving better performance than equivalent scalar computations.

Number of ports

  • JEP422: Linux/RISC-V Port - Facilitate Linux/RISC-V implementation by integrating this port into the JDK mainline repository.

Project Loom Preview/Incubator Features

  • JEP425: Virtual Threads (Preview) - Significantly reduces the effort to write, maintain, and observe high-throughput concurrent applications by introducing lightweight virtual threads to the Java platform. Developers can easily use existing JDK tools and technologies to troubleshoot, debug and analyze concurrent applications through virtual threads.

  • JEP428: Structured Concurrency (Incubator) - Simplifies error handling and job cancellation and improves reliability and observability by simplifying multithreaded programming and treating multiple tasks running in different threads as a unit of work.

Driving Java innovation on the basis of cloud technology

Java 19 is the result of a joint collaboration between Oracle engineers and members of the global Java developer community through the OpenJDK community and JCP (Java Community Process). In addition to introducing new enhancements, Java 19 is also supported by Java Management Services (JMS), a new Oracle Cloud Infrastructure technology (Oracle Cloud Infrastructure, OCI) native service that helps manage on-premises or any cloud-based Java runtime and applications.

02

Support for Java clients

The Oracle Java SE Subscription is a pay-as-you-go offering that provides customers with superior support, GraalVM Enterprise Edition entitlement, access to Java Management Services, and the flexibility to upgrade on a business-plan basis. This helps IT organizations manage complexity, control costs and reduce security risks. In addition, JavaSE and GraalVM Enterprise are provided free of charge to customers through OCI, helping developers build and deploy faster, better and cost-effective applications on Oracle cloud technology.

Oracle has issued one million Java qualifications, reaffirming Java's popularity among the global developer community. Java certifications can help developers grow as Java experts and have a great resume to impress businesses that are hiring senior Java professionals.

Download address: https://jdk.java.net/19/

Release Note:https://jdk.java.net/19/release-notes

Source: cloud.zol.com.cn/802/8023689.html

PS: In case you can’t find this article, you can bookmark it and like it, so it’s easy to browse and find.

code life

Guess you like

Origin blog.csdn.net/best_luxi/article/details/127050213