Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-dev] JDK 18 General Availability, and oracle-actions/setup-java
  • From: David Delabassee <david.delabassee@xxxxxxxxxx>
  • Date: Mon, 28 Mar 2022 14:32:24 +0200
  • Arc-authentication-results: i=1; 1; spf=pass; dmarc=pass action=none; dkim=pass; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed;; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=7xUe64C3DfUKmGWlE48LloTt0XifPv/S/ZP+9B7ERSo=; b=T9b3yJ+leZvHkDnWrGGhtCLzoc9zwPmtrS7gFbK0Tu7LUXiheQe+oftHrFjSNMIa/uvx1G1oRpiugKjdiMG9J6BrvldMgXHDl9BhYWjQyHezXlWHgsb3/anq6R6hrG2jEvKCwaeyo3Kg9D4CXhhW71k4/d2sXHaUNbrqcLIXUYHCvDHN5z3w57FJmWrzB1QYPq2xMZpVzDOl/Y8j/bAcOb7y/Ge9UqzCa+tIZiBmp+bJOp2w1J6L23tc9mYbJlkgMTZpbFQ6YSDnfCtDphrVseGPKXVr4xhrKpVP1fZ7V3Zz7atSuNqvAd+YE6LF9dHa96sKdkVRG/5sPUkaEUsVAQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901;; cv=none; b=UXlxMPS39ThOw6k+39YgHyZJtEgofcpntET0JzTIDew8okgVZ14SjtaccouTJ98z6NlPYDSqrlcrTqf9p0yuVsJX9waSm5CH0rbcVJJW2J5rywneAiSRGjl+S3vJODHCET9DU5nV+Q3SBk5eZRF4Hv5Ki6mo+83rZ/+FI9ZWS2WIDmAdNzyKUePSFCcDQHxRBggrzlfLtvJsI4fVeVK3aPksYC5NbcrZLlfb9UGnRl6oudMj5la112GiKAl7N5qjyRBOAswsIdNShk65Hh4Zu3uQqkrNN64g2jyCR2IhjVrbET0T/tXB5gkVLk+M2ltrCMFmt3DCBosKIs6hHCh1Hg==
  • Delivered-to: jetty-dev@xxxxxxxxxxx
  • List-archive: <>
  • List-help: <>
  • List-subscribe: <>, <>
  • List-unsubscribe: <>, <>
  • User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.7.0


JDK 18 has been released (General Availability) on March 22nd as planned, the release cadence is working like clockwork! As a small token of gratitude, some of you have been specifically acknowledged in the "The Arrival of Java 18" announcement [1]. On behalf of the entire team, let me extend our thanks to all of you.

With JDK 18 released, the focus should now be on making sure your project(s) compile and work on JDK 19. As always, if you face any issue with early-access builds of JDK 19 please let us know. To help you in this task, we have just released a GitHub action to install the OpenJDK Early-Access builds. For more information, please check the heads-up below.

I'll conclude with a short teaser, i.e. JavaOne is Back! [2] Stay tuned for more details.


## Heads-Up: oracle-actions/setup-java

To help you test your project(s), we have released a GitHub Action [3] to download and install various JDK builds produced by Oracle. In addition to the latest OpenJDK GA builds (GPL v2 W/CPE) and the Oracle JDK builds (NFTC license), this action can also download and install OpenJDK early-access builds, and early-access builds of OpenJDK projects (ex. Project Loom, Project Valhalla, etc.).

When doing tests using EA builds, it is key to always use the upstream EA builds from as issues should be logged against those upstream builds, and ideally against a specific build version. This GitHub action is actively following the OpenJDK EA builds releases. Please make sure to check the announcement [4] for more details, and short FAQ.

To help you isolate regression between different EA builds, we are working to add support for archived builds. If you have feedback, please either issue the Issue tracker [5] or just send me a mail.


## General Availability of Java 18 / JDK 18

JDK 18 is now Generally Available [6]. The OpenJDK builds which are provided under the GNU General Public License v2, with the Classpath Exception are available [7], the JDK 18 Release Notes are also available [8].


Along with hundreds of smaller enhancements and over a thousand bug fixes, JDK 18 includes following JEPs:
- JEP 400: UTF-8 by Default
- JEP 408: Simple Web Server
- JEP 413: Code Snippets in Java API Documentation
- JEP 416: Reimplement Core Reflection with Method Handles
- JEP 417: Vector API (Third Incubator)
- JEP 418: Internet-Address Resolution SPI
- JEP 419: Foreign Function & Memory API (Second Incubator)
- JEP 420: Pattern Matching for switch (Second Preview)
- JEP 421: Deprecate Finalization for Removal

Thanks to everyone who contributed to JDK 18, whether by designing and implementing features or enhancements, by fixing bugs, or by downloading and testing the early-access builds.

## JDK 19 Early-Access builds

JDK 19 Early-Access builds 15 are now available [9], and are provided under the GNU General Public License v2, with the Classpath Exception. The Release Notes are also available [10].


### JEPs targeted to JDK 19, so far:
- JEP 422: Linux/RISC-V Port

### Recent changes that maybe of interest:
- JDK-8283415: Update java.lang.ref to use sealed classes
- JDK-8280494: (D)TLS signature schemes
- JDK-8282081: java.time.DateTimeFormatter: wrong definition of symbol F
- JDK-8281181: Do not use CPU Shares to compute active processor count
- JDK-7192189: Support endpoint identification algorithm in RFC 6125
- JDK-8277474: jarsigner does not check if algorithm parameters are disabled
- JDK-8280357: If the users home directory is invalid, system property user.home is set to $HOME
- JDK-8277204: Implement PAC-RET branch protection on Linux/AArch64
- JDK-8282411: Add useful predicates to ElementKind
- JDK-8282131: java.time.ZoneId should be a sealed abstract class
- JDK-8281375: Accelerate bitCount operation for AVX2 and AVX512 target

## Topics of Interest:

- “Java 18 is Here!” - Inside Java Podcast

- “The Simple Web Server” - Inside Java Podcast

- “Finalization Deprecation” - Inside Java Podcast

- All About JDK 18 - Inside Java Newscast

- JDK 18 - Security Enhancements

- JDK 18 - Programmer's Guide to Snippets

- JDK 18 - G1/Parallel/Serial GC improvements

- “Java Language Futures: Spring 2022 Edition” (video)

- Project Panama : `jextract` Standalone Repository

Again, let us know if you find any issues while testing your project(s) on the latest JDK Early Access builds. Thanks for your support!


Back to the top