From 3006cfc4a58b808e0ff679663b0e89719c27c112 Mon Sep 17 00:00:00 2001 From: panbingkun Date: Fri, 28 Jul 2023 19:42:35 +0800 Subject: [PATCH] Make it run well with the netty newest version 4.1.96 --- .../src/main/java/io/netty/buffer/PooledByteBufAllocatorL.java | 2 +- java/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java/memory/memory-netty/src/main/java/io/netty/buffer/PooledByteBufAllocatorL.java b/java/memory/memory-netty/src/main/java/io/netty/buffer/PooledByteBufAllocatorL.java index 870114d7db1..06c6669cfd1 100644 --- a/java/memory/memory-netty/src/main/java/io/netty/buffer/PooledByteBufAllocatorL.java +++ b/java/memory/memory-netty/src/main/java/io/netty/buffer/PooledByteBufAllocatorL.java @@ -161,7 +161,7 @@ public InnerAllocator() { } private UnsafeDirectLittleEndian newDirectBufferL(int initialCapacity, int maxCapacity) { - PoolArenasCache cache = threadCache(); + PoolThreadCache cache = threadCache(); PoolArena directArena = cache.directArena; if (directArena != null) { diff --git a/java/pom.xml b/java/pom.xml index 7f8de003a33..d6b37c7df96 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -33,7 +33,7 @@ 5.9.0 1.7.25 31.1-jre - 4.1.94.Final + 4.1.96.Final 1.56.0 3.23.1 2.15.1