Contact Info

Atlas Cloud LLC 600 Cleveland Street Suite 348 Clearwater, FL 33755 USA

support@dedirock.com

Client Area
Recommended Services
Supported Scripts
WordPress
Hubspot
Joomla
Drupal
Wix
Shopify
Magento
Typeo3

This week’s Java roundup for September 2nd, 2024 features news highlighting: JEP 485, Stream Gatherers, promoted to Candidate; Project Loom Build 24-loom+7-60; Hibernate Validator 9.0.0.Beta3; LangChain4j 0.34.0; and Clojure 1.12.0.

JEP 485, Stream Gatherers, was promoted from its JEP Draft 8335899 to Candidate status this past week. This JEP proposes to finalize this feature after two rounds of preview, namely: JEP 473: Stream Gatherers (Second Preview), to be delivered in the upcoming release of JDK 23; and JEP 461, Stream Gatherers (Preview), delivered in JDK 22. This feature was designed to enhance the Stream API to support custom intermediate operations that will “allow stream pipelines to transform data in ways that are not easily achievable with the existing built-in intermediate operations.” More details on this JEP may be found in the original design document and this InfoQ news story.

Build 24-loom+7-60 of the Project Loom early-access builds was made available to the Java community this past week and is based on Build 13 of the JDK 24 early-access builds. This build improves the implementation of Java monitors, also known as synchronized methods, for enhanced interoperability with virtual threads.

Build 37 remains the current build in the JDK 23 early-access builds. Further details on this release may be found in the release notes and details on the new JDK 23 features may be found in this InfoQ news story.

Build 14 of the JDK 24 early-access builds was released recently, which includes updates from Build 13 encompassing various bug fixes as outlined in the corresponding issue tracker. More information is available in the release notes.

Developers working with JDK 23 or JDK 24 are advised to submit bug reports through the Java Bug Database.

The recent release of the IntelliJ plugin TornadoInsight version 1.2.3 for TornadoVM includes significant enhancements such as support for previously unsupported TornadoVM types like HalfFloat, CharArray, and Matrix2DFloat. Additional improvements address both dynamic and static checking issues and introduce a try-with-resources approach in the code generated for transferToDevice() and transferToHost() methods within the TaskGraph class to ensure consistent data management during task execution. More information can be found in the release notes.

The release of Helidon 4.1.1 introduces updates such as the implementation of the gRPC MicroProfile Client API, the ability to create empty SSE events using a new NO_DATA constant in the SseEvent class, and the replacement of the deprecated fixedRateBuilder() method with the new fixedRate() method in the Scheduling class. Detailed information on this update is also captured in the release notes.

“`html

The Micronaut Foundation has released version 4.6.1 of the Micronaut Framework 4.6.1 featuring Micronaut Core 4.6.4, bug fixes, improvements in documentation and updates to modules: Micronaut Data and Micronaut Servlet. Further details on this release may be found in the release notes.

Quarkus 3.14.2, first maintenance release (version 3.14.0 was skipped) featuring bug fixes, dependency upgrades, most notably Micrometer Metrics 1.13.0. Other changes include: a resolution to a RuntimeException using the JaCoCo code coverage library with an application running virtual threads; the addition of the Jackson SerializableString interface on field names along with support for the @JsonProperty annotation in the Jackson serializers. More details on this release may be found in the changelog.

The third beta release of Hibernate Validator 9.0.0 features bug fixes and the removal of some APIs that have been deprecated for quite some time. Hibernate Validator has been the compatible implementation of the Jakarta Validation 3.1 specification since version 8.0.1.Final. This release provides continuous improvement for that compatible implementation.

The release of Clojure 1.12.0 provides bug fixes, dependency upgrades and new features such as: new functions, add-lib(), add-libs() and sync-deps(), to interactively add libraries without restarting the JVM or losing state; and new functional interfaces that allow Clojure developers to invoke Java methods.

“`

This release also addresses CVE-2024-22871, a vulnerability wherein an attacker may exploit a specific serializable object that, when processed, can trigger an infinite loop, leading to a denial of service.

Moreover, this is the final release to support JDK 8. Future versions will adopt a new, yet-to-be-disclosed LTS version of Java. More information on this release can be found in the changelog.

The release of Eclipse Vert.x 4.5.10 introduces significant updates such as a fix in the copy constructor of the SqlConnectOptions class that ensures it properly copies instances of the TracingPolicy enum, and the implementation of the Oracle health check in the OracleJdbcConnection class.

This release also tackles CVE-2024-8391, a security flaw where the gRPC server failed to limit the maximum message payload size, resulting in excessive memory usage. Further details on this release can be discovered in the release notes and a summary of deprecations and breaking changes.

The fourth beta release of Apache Maven 4.0.0 provides dependency upgrades and notable changes such as: the ability to manually execute a GitHub action; a resolution to prevent a NullPointerException with no tags expected in the plugin.xml file; and a removal of the Java Locale class from the FileSizeFormat class that was unused. Further details on this release may be found in the release notes.

Version 0.34.0 of LangChain for Java (LangChain4j) features new integrations: Google AI Gemini; Oracle Database Embedding Store; Couchbase Embedding Store; and SearchApi. Other notable changes include: a resolution to a failed parsing of an LLM response due to the JSON block from a POJO not having been extracted; and a refactor of the TokenStream interface and the AiServiceTokenStream class so that all methods available in the sub-interfaces are represented in TokenStream; and a new onRetrieved() method, defined in the TokenStream interface, used as a callback before invoking a language model in AiServiceTokenStream class. More details on this release may be found in the release notes.

The release of Jox 0.3.1, a virtual threads library that implements an efficient Channel data structure in Java designed to be used with virtual threads, features a short-circuit on execution of the Select class upon any error with the Channel class. Further details on this release may be found in the release notes.


Welcome to DediRock, your trusted partner in high-performance hosting solutions. At DediRock, we specialize in providing dedicated servers, VPS hosting, and cloud services tailored to meet the unique needs of businesses and individuals alike. Our mission is to deliver reliable, scalable, and secure hosting solutions that empower our clients to achieve their digital goals. With a commitment to exceptional customer support, cutting-edge technology, and robust infrastructure, DediRock stands out as a leader in the hosting industry. Join us and experience the difference that dedicated service and unwavering reliability can make for your online presence. Launch our website.

Share this Post
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x