Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ


Choose your language

InfoQ Homepage News Java News Roundup: JEPs for JDK 19, Project Lilliput Milestone, Spring Framework, Quarkus 2.9.0

Java News Roundup: JEPs for JDK 19, Project Lilliput Milestone, Spring Framework, Quarkus 2.9.0

This item in japanese

Lire ce contenu en français

This week's Java roundup for May 9th, 2022, features news from OpenJDK, JEPs targeted for JDK 19, Project Lilliput milestone release, Spring Framework 5.3.20 and 5.2.22, Open Liberty and, Quarkus 2.9.0.Final, Apache Camel Quarkus 2.9.0, WildFly Preview 27 Alpha1, Hibernate Search 6.1.5, JobRunr 5.1.1, Piranha 22.5.0, Failsafe 3.2.4, Micronaut survey results and Devoxx UK.


Mark Reinhold, chief architect, Java Platform Group at Oracle, has proposed migrating the current domain to Reinhold stated that, despite serving the Java community well, the current domain has also been confusing. Since many OpenJDK open-source communities build their infrastructure under a .org top-level domain, Reinhold believes this migration would be beneficial.

After an extended review that lasted longer than the usual one week, JEP 427, Pattern Matching for switch (Third Preview), has been promoted from Proposed to Target to Targeted for JDK 19. This JEP, under the auspices of Project Amber, incorporates enhancements in response to feedback from the previous two rounds of preview: JEP 406, Pattern Matching for switch (Preview) (delivered in JDK 17), and JEP 420, Pattern Matching for switch (Second Preview) (delivered in JDK 18). Changes from JEP 420 include: guarded patterns are replaced with when clauses in switch blocks; and runtime semantics of a pattern switch are more closely aligned with legacy switch semantics when the value of the selector expression is null.

After its one-week review has concluded, JEP 424, Foreign Function & Memory API (Preview), has been promoted from Proposed to Target to Targeted status for JDK 19. This JEP, under the auspices of Project Panama, evolves: JEP 419, Foreign Function & Memory API (Second Incubator), delivered in JDK 18; and JEP 412, Foreign Function & Memory API (Incubator), delivered in JDK 17; to incorporate improvements based on Java community feedback.

Originally named Record Patterns & Array Patterns (Preview), JEP 405, Record Patterns (Preview), has been promoted from Candidate to Proposed to Target for JDK 19. This JEP, also under the auspices of Project Amber, proposes to enhance the language with record patterns to deconstruct record values. Record patterns may be used in conjunction with type patterns to "enable a powerful, declarative, and composable form of data navigation and processing." Type patterns were recently extended for use in switch case labels via JEP 406, Pattern Matching for switch (Preview) (delivered in JDK 17), and JEP 420, Pattern Matching for switch (Second Preview) (delivered in JDK 18). The review is expected to conclude on May 19, 2022.

JDK 19

Build 22 of the JDK 19 early-access builds was made available this past week, featuring updates from Build 21 that include fixes to various issues. More details may be found in the release notes.

For JDK 19, developers are encouraged to report bugs via the Java Bug Database.

Project Lilliput

Project Lilliput, a Java project initiated by Roman Kennke, senior principal software engineer, Java Platform at Red Hat, has reached its first milestone with the goal to reduce the object header to 64 bits.

Spring Framework

Spring Framework versions 5.3.20 and 5.2.22 have been released to deliver fixes for CVE-2022-22970, Spring Framework DoS via Data Binding to MultipartFile or Servlet Part, and CVE-2022-22971, Spring Framework DoS with STOMP over WebSocket. Both versions also feature a refined property introspection with the CachedIntrospectionResults class.

On the road to Spring Framework 6.0.0, the fourth milestone release has been made available that includes all the fixes in version 5.3.20 and 39 fixes and improvements that includes: the removal of the obsolete NestedIOException class; a new HttpStatusCode interface to allow for HTTP status codes that are not Java enums; and support for Jakarta Concurrency 3.0.

Open Liberty

IBM has promoted Open Liberty from its beta release to deliver: support for configuring multiple, specific SSL/TLS protocol values on the sslProtocol attribute; introducing a new schemaGen command-line wrapper utility to initiate execution of the ws-schemagen.jar tool; and multiple bug fixes.

Open Liberty has also been released featuring new logging functionality such that stack traces may now be merged into a single log event.


Red Hat has released Quarkus 2.9.0.Final that ships with: a new WebAuthn authentication mechanism designed to replace passwords; compression support for Reactive Routes and RESTEasy Reactive; support for the Confluent Schema Registry and restructured schema registry extensions for more flexibility; and dependency upgrades to Kotlin 1.6.20 and Scala 2.13. Developers are encouraged to follow the migration guide when upgrading.

Apache Camel Quarkus

Maintaining alignment with Quarkus, The Apache Software Foundation has released Camel Quarkus 2.9.0 containing Camel 3.16.0 and Quarkus 2.9.0.Final. New features include: improved support for JBang; improved support for a Camel Main application that makes it easier to auto-discover Camel routes, configuration classes, type converters, and other classes using dependency injections; and the ability to retrieve properties values from a Vault/Secrets cloud services.


Red Hat has provided WildFly Preview 27 Alpha1, a milestone release towards support for Jakarta EE 10. WildFly 27.0.0.Alpha1 features support for the Context and Dependency Injection (CDI) 4.0 specification, CDI Lite and Hibernate 6.0. This release may be run on JDK 11 or JDK 17, but support for JDK 8 has been discontinued.


Hibernate Search 6.1.5.Final has been released featuring upgrades to: Hibernate ORM 5.6.8.Final; the Hibernate ORM 6.0.1.Final -orm6 artifacts; and the latest version of Jakarta EE dependencies in the -orm6/-jakarta artifacts. Fixes in this release include: the .flags(Collections.emptySet()) disabling all flags when defining a simpleQueryString predicate; defining an aggregation on a text field with .maxTermCount(<very large value>) no longer causing an OutOfMemoryError with the Lucene backend; and a routing bridge preventing indexing of a particular entity no longer causing a NullPointerException with the outbox-polling coordination strategy.


Ronald Dehuysser, founder and primary developer of JobRunr, a utility to perform background processing in Java, has released version 5.1.1 to fix a ClosedFileSystemException when the org.jobrunr.database.skip-create property is set to false.


Piranha 22.5.0 has been released. Dubbed the "Getting rid of some code smells" edition for May 2022, this release includes: removing an unstable Mojarra test; updated dependencies; and fixing a number of "code smells." More details on this release may be found in their documentation and issue tracker.


Failsafe, a lightweight, zero-dependency library for handling failures in Java 8+, has released version 3.2.4 featuring additional thread safety checks. More details on this release may be found in the changelog.


Based on a total of 650 votes, the results of the Micronaut 4.0 JDK version survey have demonstrated that almost twice as many Java developers prefer that Micronaut 4.0 be based on JDK 17 over JDK 11.

Devoxx UK Conference

Devoxx United Kingdom was held at the Business Design Centre in London, England, this past week featuring many speakers from the Java community who presented talks and facilitated workshops.

About the Author

Rate this Article