From 193c762e3fb06df9bbfcb860e15cd0231f1e1eff Mon Sep 17 00:00:00 2001 From: Ahmed Muhsin Date: Thu, 14 May 2026 20:14:36 -0500 Subject: [PATCH] Bump grpc-java to 1.81.0 to silence Java 25 Unsafe deprecation warning Bumps io.grpc:grpc-netty-shaded (and grpc-protobuf, grpc-stub, protoc-gen-grpc-java) from 1.75.0 to 1.81.0, which pulls in shaded Netty 4.1.132. The previous shaded Netty (4.1.118 inside grpc-java 1.75.0) called the now terminally-deprecated sun.misc.Unsafe::allocateMemory, producing noisy warnings on JDK 23+ (and especially JDK 25). Netty 4.1.124+ routes direct-buffer allocation away from the deprecated method, so the warning goes away without any code or launch-argument changes. grpc-java 1.81.0 still targets Java 8 bytecode (animal-sniffer is still on the dependency tree), so this preserves Java 8 compatibility for the worker. --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index a483d766..e347bc98 100644 --- a/pom.xml +++ b/pom.xml @@ -22,7 +22,7 @@ 5.9.1 4.11.0 3.7.6 - 1.75.0 + 1.81.0