Updates OpenJDK, Spring Framework 6.0-M3, Helidon 3.0-M1, JobRunr 5.0-M1

This week’s Java Digest March 14, 2022 features news from OpenJDK, JDK 19, Spring Framework 6.0-M3 and 5.3.17, Spring Tools 4.14.0, Quarkus 2.7.5, Helidon 3.0-M1, March 2022 Payara Platform , Open Liberty 22.0.0.3 and 22.0.0.4-beta, Hibernate ORM 5.6.7, Hibernate Search 6.1.3 and 6.0.9, JobRunr 5.0-RC1, Apache Camel 3.11.6, Piranha 22.3.0, JReleaser update and reasons why Java makes sense.

OpenJDK

After completing his week-long exam, JEP 422, Linux/RISC-V Port, was promoted from Proposed to target for 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 major GCs, including ZGC and Shenandoah, will be supported. The main purpose of this JEP is to integrate the port into the main JDK repository.

JEP Draft 8283227, JDK Source Structure, an informative JEP, describes the overall layout and structure of JDK source code and associated files in the JDK repository. This JEP aims to help developers adapt to the source code structure as described in JEP 201, Modular Source Code, delivered in JDK 9.

JEP Draft 8283291, Extended Opcodes, an infrastructure JEP, proposes to release more opcodes, beyond the arbitrary size restriction of one byte, which will allow additional space for new instructions in future projects and JVM improvements.

JDK 18

JDK 18 remains in its release candidate phase with the GA release scheduled for March 22, 2022. The release notes include links to documents such as the full 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 more detailed news.

JDK 19

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

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

spring frame

Spring Framework 6.0.0-M3 and 5.3.17 were released last week.

Version 5.3.17 comes with new features such as: support for custom HTTP status in client-side REST tests; a fix in which logging from the AsyncRestTemplate the class was too wordy; and improved diagnostics in Spring Expression Language (SpEL) when creating large arrays. More details about version 5.3.17 can be found in these release notes.

The third release of Spring 6.0 includes an initial migration of Spring Native’s Ahead-of-Time engine that will enable full native support across the entire Spring ecosystem. You can find more details about version 6.0.0-M3 in these release notes.

Spring Tools 4.14.0 has been released with a dependency upgrade to Eclipse IDE 2022-03 and fixes such as: JDK17 misidentified as JDK 8; Plan view broken again on Windows; the VSCode extension occasionally emitting diagnostic entries in the “Problems” area; and an error from VSCode Spring Boot tools attempting to find a JVM. More details can be found in the changelog.

Quarks

Quarkus 2.7.5.Final, the fifth maintenance release, has been released with documentation improvements and bug fixes such as: curl URL and note formatting; dependencies in SmallRye GraphQL client; a NullPointerException when a configuration resource does not exist; and support wildcards in generic return types of JAX-RS methods. You can find more details about this release in the changelog.

Helidon

Oracle provided the first major release of Helidon 3.0 with support for MicroProfile 5.0, the migration of javax for jakarta namespace for Jakarta EE 9; and a minimum requirement of JDK 17+. JDK 11 will therefore no longer be supported.

Payara

Payara has released the March 2022 edition of its Payara platform as an enterprise-only version. Payara Platform Enterprise 5.37.0 edition offers eight bug fixes, one component upgrade and two enhancements: auto-complete for asadmin commands that were only available for remote commands; and an updated installation directory tooltip in the WebConsole. More details about this release can be found in the release notes.

open freedom

IBM promoted Open Liberty 22.0.0.3 from its beta release to provide notable bug fixes such as: the @RolesAllowed annotation rejecting authenticated users; and Jakarta JSON Processing 2.0 and Jakarta JSON Binding 2.0 containers (artifacts jsonpContainer-2.0 and jsonbContainer-2.0, respectively) incorrectly providing default providers. This release also allows SQL operations in transaction recovery logs.

Open Liberty 22.0.0.4-beta was also released with support for MicroProfile GraphQL 2.0, JDK 18, and distributed security caches, so multiple Liberty servers can share caches via JCache.

Hibernate

Hibernate ORM 5.6.7.Final was released after a short-lived 5.6.6.Final release that showed confusing deprecation warnings.

Versions 6.1.3.Final and 6.0.9.Final of Hibernate Search have been released with upgrades to Hibernate ORM 5.6.7.Final and the -orm6 artifacts to Hibernate ORM 6.0.0.CR2.

Job Runr

JobRunr, a utility for performing background processing in Java, released version 5.0.0-RC1 last week to include additional support for: scheduling recurring jobs with a specified interval; the mapped diagnostic context of SLF4J; Spring native; and MicroMeter in the JobRunr Fluent API. Further details can be found in the release notes.

apache camel

The Apache Software Foundation has provided a new LTS point release in the Camel 3.11 release series. Version 3.11.6 offers 23 bug fixes and improvements, as well as dependency upgrades to Spring Boot versions 2.6.4 and 2.5.10, Spring Boot 2.5.9 in Camel Spring Boot, and log4j 2.17.1. More details can be found in the release notes.

piranha

Piranha 22.3.0 has been released. Nicknamed the “We do the spring cleaning“, this release includes: cleanup within the project; addition of marker files to indicate start/stop status of server variants; list of deployed applications of server variants; addition of a debug module that can be referenced by an IDE to get all dependencies and source code, more details can be found in their documentation and issue tracker.

JReleaser

On the road to 1.0.0, an updated early access version of JReleaser has been made available to: allow string inputs for file and directory properties; and fix incorrect selected commits when unparsable tags were found.

Seven Reasons Why Java Still Makes Sense

In a recent blog post on Foojay.io, Bazlur Rahman, senior software engineer at Contrast Security, discusses seven reasons why Java still makes sense after 26 years. This list comes from his many discussions with Java developers combined with his personal experiences within the Java community and using the platform:

  1. Community
  2. Language and platform
  3. More problems solved than any other ecosystem
  4. Stability
  5. Innovation
  6. Tools
  7. Job opportunities

Rahman states that developers “should invest in a reliable, mature, and proven portfolio with a rock-solid foundation” due to the time investment developers make with a particular programming language.


Source link

Steven L. Nielsen