JDK 19 / Java 19 Official GA JDK 19 / Java 19 has been officially released. The new release contains a total of 7 new JEPs. 405: Record Patterns (Preview) 422: Linux/RISC-V Port 424: Foreign Function & Memory API (Preview) 425: Virtual Threads (Preview) 426: Vector API (Fourth Incubator) 427: Pattern Matching for switch (Third Preview) 428: Structured Concurrency (Incubator) 405: Record Patterns goes to preview stage Record Patterns deconstructs the values of record, and Record patterns and Type patterns enable powerful, declarative, composable forms of data navigation and processing through nesting.
Java SE 7, a nearly 11-year-old version of the Java standard, is coming to the end of its life cycle and Oracle will officially discontinue extended support for it at the end of July 2022. With official extension support is discontinued, Java 7 will enter a Sustaining Support model as defined by the Oracle Lifetime Support Policy. Oracle will no longer provide patch updates, bug or security fixes, or feature implementations.
Introduction From the Overview page of JDK 19, it appears that JDK 19 is in the Rampdown Phase Two, the entire feature set has been frozen and no further changes will be made to the JEP. Java 19 has only 7 new features. 405: Record Patterns (Preview) Record Patterns 422: Linux/RISC-V Port Linux/RISC-V porting 424: Foreign Function & Memory API (Preview) External Function and Memory API 425: Virtual Threads (Preview) Virtual Threads 426: Vector API (Fourth Incubator) Vector API 427: Pattern Matching for switch (Third Preview) Switch Pattern Matching 428: Structured Concurrency (Incubator) Structured Concurrency The following is a short description of the new features.
The Java community is working on a Classfile API proposal that aims to provide an API for parsing, generating, and converting Java class files; initially as an internal replacement for the ASM in the JDK, and later as a public API. It is planned that ASM will eventually be removed from the JDK entirely. The proposal notes that class file generation, parsing, and detection are ubiquitous in the Java ecosystem; many tools and libraries need to be able to handle class files, and frameworks often perform on-the-fly bytecode instrumentation, transformation, and generation.