You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ratis.apache.org by ad...@apache.org on 2026/09/29 14:22:09 UTC

(ratis-thirdparty) branch master updated: RATIS-2702. Bump netty to 4.2.18 (#196)

This is an automated email from the ASF dual-hosted git repository.

adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ratis-thirdparty.git


The following commit(s) were added to refs/heads/master by this push:
     new c6b9caa  RATIS-2702. Bump netty to 4.2.18 (#196)
c6b9caa is described below

commit c6b9caa2c33e3ebff8fdaa62766f5e8da787a40a
Author: dependabot[bot] <49...@users.noreply.github.com>
AuthorDate: Tue Sep 29 16:22:02 2026 +0200

    RATIS-2702. Bump netty to 4.2.18 (#196)
---
 pom.xml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 1225a67..c9fa53d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -68,7 +68,7 @@
     <!--Version of grpc to be shaded -->
     <shaded.grpc.version>1.84.0</shaded.grpc.version>
     <!--Version of Netty to be shaded -->
-    <shaded.netty.version>4.2.17.Final</shaded.netty.version>
+    <shaded.netty.version>4.2.18.Final</shaded.netty.version>
     <!--Version of dropwizard to be shaded -->
     <shaded.dropwizard.version>4.2.40</shaded.dropwizard.version>
 
@@ -280,6 +280,12 @@
                         of the JDK to properly build from source.  You appear to be using a newer dependency. You can use
                         either "mvn -version" or "mvn enforcer:display-info" to verify what version is active.
                       </message>
+                      <ignoreClasses>
+                        <!-- requires JDK 11, but Netty checks for JDK version at runtime
+                             see https://github.com/netty/netty/commit/95012caf2c3c615bb6d8b7a084bc36a2064b17c8 -->
+                        <ignoreClass>io.netty.util.internal.shaded.org.jctools.queues.varhandle.*</ignoreClass>
+                        <ignoreClass>org.apache.ratis.thirdparty.io.netty.util.internal.shaded.org.jctools.queues.varhandle.*</ignoreClass>
+                      </ignoreClasses>
                     </enforceBytecodeVersion>
                   </rules>
                 </configuration>