From 358184e138c9c972183d65d9ba3276b43dfea081 Mon Sep 17 00:00:00 2001 From: Katia Aresti Date: Wed, 28 Jun 2023 08:57:47 +0200 Subject: [PATCH] Updates Infinispan to 14.0.11.Final --- bom/application/pom.xml | 2 +- extensions/infinispan-client/runtime/pom.xml | 4 ++++ .../client/runtime/graal/NettySubstitution.java | 17 +++++++++++++++++ 3 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 extensions/infinispan-client/runtime/src/main/java/io/quarkus/infinispan/client/runtime/graal/NettySubstitution.java diff --git a/bom/application/pom.xml b/bom/application/pom.xml index 298dea4478b0d..4c5bc5600e934 100644 --- a/bom/application/pom.xml +++ b/bom/application/pom.xml @@ -138,7 +138,7 @@ 5.3.0 5.9.3 1.5.0 - 14.0.9.Final + 14.0.11.Final 4.6.2.Final 3.1.5 4.1.94.Final diff --git a/extensions/infinispan-client/runtime/pom.xml b/extensions/infinispan-client/runtime/pom.xml index f9db357be9ffe..d57f94190b419 100644 --- a/extensions/infinispan-client/runtime/pom.xml +++ b/extensions/infinispan-client/runtime/pom.xml @@ -79,6 +79,10 @@ jboss-transaction-api_1.2_spec + + io.netty + netty-transport-native-epoll + diff --git a/extensions/infinispan-client/runtime/src/main/java/io/quarkus/infinispan/client/runtime/graal/NettySubstitution.java b/extensions/infinispan-client/runtime/src/main/java/io/quarkus/infinispan/client/runtime/graal/NettySubstitution.java new file mode 100644 index 0000000000000..4baa1b2bf3934 --- /dev/null +++ b/extensions/infinispan-client/runtime/src/main/java/io/quarkus/infinispan/client/runtime/graal/NettySubstitution.java @@ -0,0 +1,17 @@ +package io.quarkus.infinispan.client.runtime.graal; + +import org.infinispan.client.hotrod.impl.transport.netty.NativeTransport; + +import com.oracle.svm.core.annotate.Substitute; +import com.oracle.svm.core.annotate.TargetClass; + +final class NettySubstitution { +} + +@TargetClass(value = NativeTransport.class) +final class SubstituteNativeTransport { + @Substitute + private static boolean useNativeEpoll() { + return false; + } +}