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

This week’s Java Digest June 13, 2022 features news on JDK 19, JDK 20, Spring Framework 5.3.21, Spring Report CVE-2022-22979, 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

Version 27 of the early access builds of JDK 19 was made available last week, with updates to version 26 that include fixes to various issues. More details can be found in the release notes.

JDK 20

Version 2 of the JDK 20 early access builds were also made available last week, with updates to version 1 that include fixes to various issues. Release 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 with new features such as: exposing queue size and capacity from the ThreadPoolTaskExecutor class for metrics; lazily initialize the DataSize.PATTERN field to avoid unnecessary hasty initialization; and cglib support BeanCopier class on JDK 17. Along with bug fixes and documentation improvements, this latest release also includes an upgrade to Project Reactor 2020.0.20. More details about this release can be found in the release notes.

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 the standard IDE for Spring developers. InfoQ will follow with more detailed news.

Spring Tools 4.15.0 has been released with an Eclipse 2022-06 update and a number of bug fixes and improvements. Following on from Spring Tools 4.15.0, version 4.15.1 was also released last week to bring improvements related to Spring Boot and not being able to pull the new version through the spring-tool-suite-4-4.15.0.RELEASE-e4.24.0-win32.win32.x86_64.self-extracting.jar on Windows 11. Further details on these versions can be found in the release notes for version 4.15.0 and version 4.15.1, respectively.

VMware published CVE-2022-22979, Spring Cloud Function Dos Vulnerability, a vulnerability that caused a denial of service condition due to a caching issue in the Function Catalog component of Spring Cloud Function 3.2.5 and versions previous. Spring Cloud Function 3.2.6 fixed this vulnerability.

On the road to Spring Cloud 2022.0.0, the third milestone release, codenamed Kilburn, has been released. It includes some breaking changes and dependency upgrades to corresponding M3 versions on Spring Cloud sub-projects such as: Stream, Config, Kubernetes and Gateway. . More details about this release can be found in the release notes.

Hibernate

Hibernate ORM 6.1.Final has been released with new features such as: support for subselects/subqueries including lateral subqueries in the FROM HQL query clause and Criteria; base arrays and collections can now be mapped to database ARRAY types where possible, or alternatively to JSON/XML types; a new @ConverterRegistration annotation which offers the possibility to extract the definition of the automatic application of a AttributeConverter external interface to the converter itself; and a new XML Schema Definition (XSD) domain model mapping that combines features of JPA 3.1 orm.xml and Hibernate hbm.xml sizes. This last feature is still in the making.

Apache NetBeans

The Apache Software Foundation has released Apache NetBeans 14 with new features and fixes such as: added support for JDK 17; many Gradle-related fixes; a new Explorer Manager for cloud services; support for CompletableFuture class in DialogDisplayer; and a dependency upgrade to JAX-B 2.3.5. You can find more details about this version in the release notes. InfoQ will follow with 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: Ensures that changes made to a request by the RemoteIPValve the class persists after the request switches to asynchronous mode; Fix a regression in the added support for encrypted PKCS#1 format private keys from the previous release that broke support for unencrypted PKCS#1 format private keys. increase the default buffer size for cluster messages from 43,800 to 65,536 bytes, which should improve performance of large messages when running on Linux-based systems; and ensure that buffer flush attempts to flush all output buffers when using TLS with non-blocking writes and the NIO connector. More details about this release can be found in the changelog.

piranha

Piranha 22.6.0 has been released. Nicknamed the “Slowly but surely“June 2022 edition, this release includes: add quickstart verbiage to the README.md file explaining how to launch a Piranha Micro application; lower the obsolete code threshold to 140 days; change sleep time to one minute to allow Piranha to settle before a TCK test; and allow the DefaultResourceClassManagerLoader be more forgiving. Further details on this release can be found in their documentation and issue tracker.

TornadoVM

TornadoVM, an open source software technology company, has released TornadoVM version 0.14 which comes with new features and improvements such as: integration with Graal 22.1.0 JIT compiler; Azul Zulu JDK support; OpenCL 2.1 as the default target for the OpenCL Backend; and new device memory management to address OpenCL’s memory allocation limitations.

Juan Fumero, Research Associate, Advanced Processor Technologies Research Group at the University of Manchester, presented TornadoVM at QCon London in March 2020 and has since contributed to this more recent InfoQ technical article.

JDKMyName

Versions 17.0.28, 17.0.27, and 17.0.26 of JDKMon, a tool that monitors and updates installed JDKs, were released to the Java community last week. Created by Gerrit Grunwald, Principal Engineer at Azul, these new versions come with: an update to the latest version of DiscoClient; and improvements to updating packages, checking for updates, and online checks.

Job Runr

Ronald Dehuysser, founder and lead developer of JobRunr, a utility for performing background processing in Java, has released version 5.1.4 with: the ability to generate the necessary SQL migrations so they can be integrated into a Flyway database migration; specify a page request size configuration for scheduled, orphaned, and successful jobs; and allow customization of BackgroundJobPerformer class to be extensible.

JReleaser

On the road to 1.1.0, an additional early access version of JReleaser, a Java utility that streamlines project release creation, has been made available 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 at 2.13.3.