BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage News Java News Roundup: JDK 19 and Jakarta EE 10 Updates, Ansynch and Buffered Logging by Amazon Corretto

Java News Roundup: JDK 19 and Jakarta EE 10 Updates, Ansynch and Buffered Logging by Amazon Corretto

This item in japanese

Lire ce contenu en français

This week's Java roundup for March 7th, 2022, features news from OpenJDK, JDK 19, Jakarta EE 10, updates to Spring Cloud subprojects, Amazon Corretto providing asynchronous and buffered logging for OpenJDK 17, Quarkus 2.7.4.Final, Hibernate ORM 6.0.0.CR2, Apache Groovy 3.0.10 and 2.5.16, Apache Camel 3.14.2, JReleaser early-access, JobRunr 4.0.10, JDKMon 17.0.23 and FailSafe 3.2.3.

OpenJDK

JEP 422, Linux/RISC-V Port, has been promoted from Candidate to Proposed to Target for JDK 19. This JEP proposes to port the JDK to Linux/RISC-V, a free and open-source RISC instruction set architecture. The template interpreter, C1 and C2 JIT compilers, and all current mainline GCs, including ZGC and Shenandoah, will be supported. The main focus of this JEP is to integrate the port into the JDK main-line repository. The review is scheduled to conclude on March 17, 2022.

JDK 18

JDK 18 remains in its release candidate phase with the anticipated GA release on March 22, 2022. The release notes include links to documents such as the complete API specification and an annotated API specification comparing the differences between JDK 17 (Build 35) and JDK 18 (Build 37). InfoQ will follow-up with a more detailed news story.

JDK 19

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

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

Jakarta EE 10

Ivar Grimstad, Jakarta EE developer advocate at the Eclipse Foundation, announced in his Hashtag Jakarta EE weekly blog that the initial release reviews for the specifications targeted for Jakarta EE 10 have been successfully completed before the February 28, 2022 deadline. This means that Jakarta EE 10 is on track to be delivered by the end of May 2022.

The 2022 Jakarta EE Developer Survey was also made available this past week in which this year's survey will be focused on cloud-native applications development.

Spring Framework

It was a relatively quiet week over at Spring as the Spring Cloud team has provided point releases on two subprojects, both based on Spring Boot 2.6.3 and Spring Cloud 2021.0.1.

Version 2021.1.1 of Spring Cloud Stream Applications, a project that provides out-of-the-box applications ready to run as standalone Spring Boot applications, has been released featuring improvements and bug fixes. Further details for this release may be found in the release notes.

Version 2021.0.1.0 of Spring Cloud Alibaba, a community project maintained by Alibaba Cloud, has been released featuring dependency upgrades to Nacos 1.4.2, Apache RocketMQ 4.9.2 and Sentinel 1.8.3. More details for this release may be found in the release notes.

Amazon Corretto

The Amazon Corretto team, upon discovering that applications were being throttled by I/O blocking while writing logs to disk, have contributed Support for Optional Asynchronous/Buffered Logging (JDK-8229517) to OpenJDK 17. Developers may now avoid extended GC pauses due to I/O by applying the -Xlog:async switch and the Unified Logging (UL) framework. Their experiments have demonstrated that asynchronous logging reduced the real CPU time by 34.5% and overall CPU utilization increased from 102.7% to 171.6%.

Quarkus

Quarkus 2.7.4.Final, the fourth maintenance release, was made available to include changes such as: an upgrade to JReleaser 1.0.0-M3; avoid a NullPointerException when when RESTEasy Reactive is used together with a classic REST client; and log an INFO message to OpenApiRecorder to use the quarkus.http.cors property in production mode and update the HTTP CORS section of the HTTP header. Further details on this release may be found in the changelog.

Red Hat has also released Quarkus Tools for IntelliJ 1.10.0 featuring security fixes and support for Quarkus run/debug configurations.

Hibernate

On the road to Hibernate ORM 6.0, the second release candidate has been made available to include: artifacts published to Maven Central are now signed; fix CDI timing issues in which an implementation of the BeanManager interface was not available; and correct and improve the behavior of mappings from the @NotFound annotation. This release also passes the Jakarta Persistence 3.1 specification TCK. The team expects to provide the formal GA release within the next two to four weeks.

Apache Groovy

Apache Groovy 3.0.10 has been released featuring 91 bug fixes, dependency upgrades along with improvements such as: type argument checking; an instance of the TraitComposer class should mark generated methods with the @Generated annotation; and enumeration values should be loaded into annotation attributes. More details may be found in the release notes.

Apache Groovy 2.5.16 has been released featuring 108 bug fixes, dependency upgrades with the same improvements mentioned above plus: the @Delegate annotation should check for property/method names on annotation attributes such as includes and excludes; a required compiler error if a final variable is also declared as volatile; and an AST transform should only provide a getter method for immutable fields. Further details may be found in the release notes.

Apache Camel

The Apache Software Foundation has provided a new LTS point release in the Camel 3.14 release train. Version 3.14.2 features 27 bug fixes, improvements and dependency upgrades to versions 2.6.4 and 2.5.10 of Spring Boot and Apache Commons Pool (org.apache.commons:commons-pool2). More details may be found in the release notes.

JReleaser

On the road to version 1.0.0, an updated early-access release of JReleaser was made available to provide: a new option to run the jpackage command in verbose mode; and removal of all deprecated source code.

JobRunr

JobRunr, a utility to perform background processing in Java, has released version 4.0.10 to include fixes for: a failure to deserialize an instance of the JobDetails class from an Enum containing an abstract member; and an instance of a CronExpression class that could not handle the December 30th and 31st dates.

JDKMon

The latest version of JDKMon, a new tool that monitors and updates installed JDKs, has been made available to the Java community. Created by Gerrit Grunwald, principal engineer at Azul, version 17.0.23 ships with: updated dependencies; vulnerability links that are colored by their score; and fixes for minor UI glitches.

Failsafe

Failsafe, a lightweight, zero-dependency library for handling failures in Java 8+, has released version 3.2.3 featuring a fix for an issue where an implementation of a Timeout interface would not fire under certain conditions when used outside a RetryPolicy. More details on this release may be found in the changelog.

About the Author

Rate this Article

Adoption
Style

BT