Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-dev] JDK 18 Early-Access builds 23 are available
  • From: david.delabassee@xxxxxxxxxx
  • Date: Tue, 16 Nov 2021 12:10:20 +0100
  • 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=KJvFj0+EvkjAPK112V0k58TyrAxmNkTRLrzkJyzEGuo=; b=eZWdON0ATvbyTYA22n38GN/fqUNMr2SROiK4/zLUB/CYkBD2Z1WvBI01NJ4pyj7RUNCXwVLE0tzJLmJsFRKmGkkv51VzpnwOeQv6vDFIDKkihLlsr9ykalsVCVgbA6jGUl8mTXIsTBkecCJZHAMeevNKQu6tw4UCZmpELurd9049NLjw1AUkKL+JbOR3jl5DWfvlySXQcyR8pYFiAXUuohV0N+hr1E1+W2vZOSQ87oL4wit47FSi6GtRIGPK+IqmVSm2n9mmu2w+AKnUhVuR/xKOb9zIELrCHf1+qIzCfXNeRJMJd4XUa8e5ojLgEa6FvC2hNAWtv2RhlCQ+TBVPgA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901;; cv=none; b=Ljd3yXEo5yUeAalv1Lou3sNMKT/ynN+F2+7rysgK83LPhzsplK+kX9WAenEGgZ+tfmnXnJTJaapHWaZJ4H5zN/79lLzFJfMolFUTBeyaYq68znN8wulMGFbgwNoxm+D1FJpME4ntr/0maV4/EEcgY+p53UvIv07YXUYwug5nS81qjkJzOKXmsYRE7L8GSau5bDFn22ShVlfrVSm/+gWEDyv3Lu1d7tXnua49rztvTN9cWqtwMqZWP+CiNW3NFmqlKahnWhvsLJp8QacUNVoWgoc+tLlbL3nizFa1nd3drLZP+bv4qxKeHDIutRyuLkYwT52Qk2cwJhl3BkxZhFeEqQ==
  • 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.3.0

Simone, all,

I’m happy to announce that moving forward Oracle’s Java DevRel Team will manage the Quality Outreach Program. I would like to thank Rory for all the efforts he's put into this program and wish him all the joy and happiness that retirement can bring! We have big shoes to fill but we’re excited to continue building off the amazing structure Rory has put in place.

The JDK 18 schedule is now known [1] with a feature freeze date (Rampdown Phase One) less than 4 weeks away! This time, we have 2 important heads-ups, one related to JEP 411 (Deprecate the Security Manager for Removal), and one related to JEP 416 (Reimplement Core Reflection with Method Handles). We're asking your help to test and confirm that your project works seamlessly now that those 2 JEPs are integrated in the JDK 18 Early-Access builds.


# JEP 411 - Deprecate the Security Manager for Removal

Starting JDK 18 b21 [2], the default value of the '' system property is set to "disallow". This means that any application or library that enables the Security Manager by calling `System.setSecurityManager` will now have to specify `` on the command-line in order for that code to continue working as expected. This change was originally targeted for JDK 17, but after some discussion/feedback from the community, the change was delayed until JDK 18 [3].


# JEP 416 - Reimplement Core Reflection with Method Handles

JEP 416 [4] reimplements `java.lang.reflect.Method`, `java.lang.reflect.Constructor`, and `java.lang.reflect.Field` on top of `java.lang.invoke` method handles. Making method handles the underlying mechanism for reflection will reduce the maintenance and development cost of both the `java.lang.reflect` and `java.lang.invoke` APIs. This is solely an implementation change but we encourage you to test your project to identify any behavior or performance regressions.


OpenJDK 18 Early-Access builds 23 are now available [5], and are provided under the GNU General Public License v2, with the Classpath Exception. The Release Notes are available [6].


# JEPs integrated to JDK 18, so far:

- 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 418: Internet-Address Resolution SPI

# JEPs targeted to JDK 18, so far:

- JEP 417: Vector API (Third Incubator)

# JEPs proposed to target JDK 18, so far:

- JEP 419: Foreign Function & Memory API (Second Incubator) - JEP 420: Pattern Matching for switch (Second Preview)

# Changes in recent builds that maybe of interest:

## Build 23:

- JDK-8275509: ModuleDescriptor.hashCode isn't reproducible across builds
- JDK-8276220: Reduce excessive allocations in DateTimeFormatter
- JDK-8276298: G1: Remove unused G1SegmentedArrayBufferList::add
- JDK-8273922: (fs) UserDefinedFileAttributeView doesn't handle file names that are just under the MAX_PATH limit (win)

## Build 22:

- JDK-8271820: Implementation of JEP 416: Reimplement Core Reflection with Method Handle - JDK-8260428: Drop support for pre JDK 1.4 DatagramSocketImpl implementations - JDK-8251468: X509Certificate.get{Subject,Issuer}AlternativeNames and getExtendedKeyUsage do not throw CertificateParsingException if extension is unparseable

## Build 21:

- JDK-8270380: Change the default value of the system property to disallow - JDK-8275319: throws java.lang.Error instead of SocketException
- JDK-8270490: Charset.forName() taking fallback default value
- JDK-8269336: Malformed jdk.serialFilter incorrectly handled

# Project Loom update

New Project Loom 18-loom+4-273 (2021/11/10) Early-Access builds are available [7] with related Javadocs [8].


These EA builds are provided under the GNU General Public License, version 2, with the Classpath Exception and are produced for the purpose of gathering feedback. Use for any other purpose is at your own risk. Feedback should be send to the `loom-dev` mailing list (

# Topics of Interest:

* New Candidate JEP: 421: Deprecate Finalization for Removal, * What Happens to Finalization in JDK 18 and JEP 416 - Inside Java Newscast,

Thank you for being a welcomed part of the Quality Outreach program!

David Delabassée / @delabassee

Back to the top