Canada

NetBeans 14, End of Life for Spring Tool Suite 3, Hibernate 6.1, TornadoVM

This week’s Java review for June 13, 2022 includes news from JDK 19, JDK 20, Spring Framework 5.3.21, Spring CVE-2022-22979 report, Spring Cloud 2022.0.0-M3, Spring Tools 4.15, End of Life for Spring Tool Suite 3, Hibernate 6.1.0-Final, Apache NetBeans 14, Apache Tomcat 8.5.81, Piranha 22.6.0, TornadoVM 0.14, JDKMon Updates, JobRunr 5.1.4, JReleaser Early Access.

JDK 19

A build of 27 of JDK 19’s early access compilations was released last week, including updates from Build 26 that include fixes for various issues. You can find more details in the notes to the publication.

JDK 20

Release 2 of the JDK 20 early access builds was also available last week, including updates from Build 1, which includes fixes for various issues. Version notes are not yet available.

For JDK 19 and JDK 20, developers are encouraged to report bugs through the Java bug database.

Spring frame

Spring Framework 5.3.21 has been released, which comes with new features such as: displaying the size and capacity of the queue of the ThreadPoolTaskExecutor class for metrics; lazily initialize the DataSize.PATTERN field to avoid unnecessary impatient initialization; and support for the JDK 17 cglib BeanCopier class. Along with bug fixes and documentation improvements, this latest version also includes an upgrade to Project Reactor 2020.0.20. More details about this edition can be found in the notes to the edition.

VMware has announced that support for the legacy Spring Tool Suite 3, created by Torsten Jürgeleit and Christian Dupuis in 2004, has ended after more than 18 years. Spring Tools 4 for Eclipse Visual Studio Code and Theia, introduced in December 2017, will now serve as a standard IDE for Spring developers. InfoQ will be followed by more detailed news.

Spring Tools 4.15.0 has been released, including an updated Eclipse 2022-06 and a number of bug fixes and improvements. As a sequel to Spring Tools 4.15.0, version 4.15.1 was also released last week to deliver improvements related to Spring Boot and cannot retrieve the new version via spring-tool-suite-4-4.15. 0.RELEASE-e4.24.0-win32.win32.x86_64.self-extracting.jar file for Windows 11. Further details on these releases can be found in the version notes for version 4.15.0 and version 4.15.1 respectively.

VMware has released CVE-2022-22979, Spring Cloud Function Dos Vulnerability, a vulnerability that caused a denial of service due to a caching issue in the Function Catalog component of Spring Cloud Function 3.2.5 and below. Spring Cloud 3.2.6 has resolved this vulnerability.

On the way to Spring Cloud 2022.0.0, the third important edition, codenamed Kilburn, was provided, which includes several intermittent changes and additions to the dependencies on the respective M3 versions of Spring Cloud subprojects such as Stream, Config, Kubernetes and Gateway. More details about this edition can be found in the notes to the edition.

Hibernation

Hibernate ORM 6.1.Final has been released, which comes with new features such as: support for subselections / subqueries, including side queries, in the FROM clause of HQL and Criteria queries; core arrays and collections can now be mapped to database ARRAY types, if possible, or alternatively JSON / XML types; new annotation @ConverterRegistration, which provides the ability to retrieve the definition of automatic application of the AttributeConverter interface outside the converter itself; and a new XML Schema Definition (XSD) domain mapping model that combines features in JPA 3.1 orm.xml and Hibernate hbm.xml formats. This last feature is still incubated.

Apache NetBeans

The Apache Software Foundation has launched Apache NetBeans 14 with new features and fixes such as: additional support for JDK 17; numerous Gradle-related fixes; new Explorer Manager for cloud services; support for the CompletableFuture class in DialogDisplayer; and upgrading the dependency to JAX-B 2.3.5. Further details on this edition can be found in the notes to the edition. InfoQ will be followed by more detailed news.

According to the release schedule, developers can expect versions 15 and 16 in August and November, respectively.

Apache Tomcat

The Apache Software Foundation has also released Apache Tomcat 8.5.81, which provides: ensuring that changes made to a RemoteIPValve class query continue after the query is placed in asynchronous mode; corrects regression in support added for PKCS # 1 formatted private keys from the previous version that violates support for PKCS # 1 formatted unencrypted private keys; increase the default cluster message buffer size from 43,800 to 65,536 bytes, which is expected to improve performance for large messages when executed on Linux-based systems; and make sure that buffer cleanup tries to empty all output buffers when using TLS with non-blocking records and NIO connector. You can find more details about this version in the change log.

Piranha

Piranha 22.6.0 came out. Called the Slow but Safe Edition for June 2022, this version includes: adding quick launch words to the README.md file on how to launch the Piranha Micro application; reduce the obsolete code threshold to 140 days; change the sleep time to one minute to allow Piranha to settle before the TCK test; and allow DefaultResourceClassManagerLoader to be more forgiving. Further details on this version can be found in their documentation and problem tracking.

TornadoVM

TornadoVM, an open source software company, has released TornadoVM version 0.14, which comes with new features and enhancements such as: integration with the Graal 22.1.0 JIT compiler; support for Azul Zulu JDK; OpenCL 2.1 as the default goal for OpenCL Backend; and a new memory management device for addressing OpenCL memory allocation constraints.

Juan Fumero, Research Fellow, Research Group on Advanced Processor Technology at the University of Manchester, introduced TornadoVM at QCon London in March 2020 and has since contributed to this newer technical article by InfoQ.

JDKMon

JDKMon versions 17.0.28, 17.0.27 and 17.0.26, a tool that monitors and updates installed JDKs, were made available to the Java community last week. Created by Gerrit Grunwald, chief engineer at Azul, these new versions come with: an update to the latest version of DiscoClient; and enhancements to package updates, update checks, and online checks.

JobRunr

Ronald Dehuser, founder and main developer of JobRunr, a Java background processing utility, has released version 5.1.4 with: the ability to generate the necessary SQL migrations so that they can be embedded in a Flyway database migration ; set the page size query configuration for planned, orphaned, and successful tasks; and allow the customization of the BackgroundJobPerformer class to be extensible.

JReleaser

On the way to version 1.1.0, an additional version with early access was provided to JReleaser, a Java utility that streamlines the creation of project releases to include dependency upgrades to: AssertJ 3.23.1, jsoup 1.15.1, Mockito 4.6 . 1, AWS SDK for Java 1.12.242 and Jackson to 2.13.3.