This week's Java roundup for November 1st, 2021, features news from OpenJDK JEPs, JDK 18, Helidon 2.4.0, Open Liberty 21.0.0.12-beta, point releases for Spring Cloud and its related subprojects, Quarkus 2.4.1.Final, Hibernate Reactive 1.0.1, WildFly 25.0.1 and JReleaser 0.8.0.
OpenJDK
After its review had concluded, JEP 418, Internet-Address Resolution SPI, has been promoted from Proposed to Target to Targeted status for JDK 18. This JEP proposes to define a service-provider interface for host name and address resolution, so that the java.net.InetAddress
class may take advantage of resolvers other than the default built-in OpenJDK resolver.
JEP 421, Deprecate Finalization for Removal, has been promoted from Draft to Candidate status. This JEP deprecates the finalization mechanism, first introduced in JDK 1.0, for removal in a future JDK release. While finalization was designed to avoid resource leaks, it suffered several critical flaws such as unpredictable latency, uncontrolled behavior and threading, and was always enabled by default.
JDK 18
Build 22 of the JDK 18 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.
The feature set for JDK 18 currently stands as follows:
- 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
Developers are encouraged to report bugs via the Java Bug Database.
Microsoft Joins Java Community Process
As part of their continued commitment to the Java programming language, Microsoft has announced that they have signed the Java Specification Participation Agreement (JSPA) to join the Java Community Process (JCP). Heather VanCura, chair and director of the JCP program at Oracle, stated:
We are delighted to welcome Microsoft to the JCP program; it continues to represent the vibrant Java ecosystem. We look forward to seeing their contributions.
This news follows Microsoft's more recent contributions to the Java community as one of the founding members of the Adoptium Working Group and having introduced Microsoft Build of OpenJDK, their own downstream distribution of OpenJDK.
InfoQ will follow up with a more detailed news story.
Helidon
Oracle has released Helidon 2.4.0 featuring: support for JDK 17 and the MicroProfile Long-Running Actions and Config specifications; integration with MicroStream 6.0; support for the Oracle Universal Connection Pool in native image builds; JEP 290 serialization filtering on incoming streams; and many more enhancements. More details may be found in the release notes.
Open Liberty
IBM has released Open Liberty 21.0.0.12-beta with support for some features of the upcoming release of MicroProfile 5.0 to align with Jakarta EE 9.1. The All Beta features package includes upgrades to MicroProfile specifications and the Jakarta EE 9 Beta Features package is a lightweight package that contains only features of Jakarta EE 9.
Spring Framework
After two very busy previous weeks, the Spring team had a more quiet week with point releases on Spring Cloud and its related subprojects.
On the road to Spring Cloud 2021.0.0, the first release candidate, codenamed Jubilee, was made available featuring dependency upgrades and fixes on the various Spring Cloud sub-projects such as Spring Cloud Sleuth, Spring Cloud Gateway and Spring Cloud Kubernetes. Spring Cloud 21.0.0-RC1 is compatible with Spring Boot 2.6.0-RC1.
Spring Cloud Gateway versions 2.2.10.RELEASE and 3.0.5 were released to address CVE-2021-22051 in which applications are vulnerable to "specifically crafted requests that could make an extra request on downstream services."
Spring Cloud Data Flow versions 2.9.1 and 2.8.4 were released as a bug fix update to versions 2.9.0 and 2.8.3. More details may be found in the release notes for version 2.9.1 and version 2.8.4 release notes.
Quarkus
Red Hat has released Quarkus 2.4.1.Final, a maintenance release containing bug fixes, improvements in documentation, and dependency upgrades to Hibernate ORM 5.6.1, Hibernate Reactive 1.0.1.Final, SmallRye Health 3.1.2 and SmallRye GraphQL 1.3.5. Further details may be found in the changelog.
Hibernate
Less than a week after the GA release of Hibernate Reactive 1.0, the first maintenance release, version 1.0.1.Final, was made available featuring performance improvements. More details may be found in the list of issues.
WildFly
Red Hat has provided a maintenance release of WildFly 25. Version 25.0.1 features dependency upgrades to Jandex 2.4.1.Final and Elytron Web 1.10.0.Final. Further details may be found in the list of issues.
JReleaser
JReleaser 0.8.0 has been released featuring support for internationalization, the ability to upload release artifacts to AWS S3, and a new Archive assembler to create zip/tar distributions. More details may be found in the changelog.
Community comments