You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2024/08/01 09:58:33 UTC
(camel-quarkus) branch 3.8.x updated: Workaround with registering OperatingSystemMXBeanSupport at RuntimeInitializedClass in the native building
This is an automated email from the ASF dual-hosted git repository.
jamesnetherton pushed a commit to branch 3.8.x
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/3.8.x by this push:
new 14232aa250 Workaround with registering OperatingSystemMXBeanSupport at RuntimeInitializedClass in the native building
14232aa250 is described below
commit 14232aa25007dc23b474a6eaea0abe418aac826e
Author: Zheng Feng <zh...@gmail.com>
AuthorDate: Thu Aug 1 16:14:51 2024 +0800
Workaround with registering OperatingSystemMXBeanSupport at RuntimeInitializedClass in the native building
---
.../quarkus/component/hazelcast/deployment/HazelcastProcessor.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/extensions/hazelcast/deployment/src/main/java/org/apache/camel/quarkus/component/hazelcast/deployment/HazelcastProcessor.java b/extensions/hazelcast/deployment/src/main/java/org/apache/camel/quarkus/component/hazelcast/deployment/HazelcastProcessor.java
index 1b5458ac5d..cdfb66e22d 100644
--- a/extensions/hazelcast/deployment/src/main/java/org/apache/camel/quarkus/component/hazelcast/deployment/HazelcastProcessor.java
+++ b/extensions/hazelcast/deployment/src/main/java/org/apache/camel/quarkus/component/hazelcast/deployment/HazelcastProcessor.java
@@ -34,6 +34,7 @@ import com.hazelcast.config.Config;
import com.hazelcast.core.HazelcastInstance;
import com.hazelcast.cp.IAtomicLong;
import com.hazelcast.internal.util.ICMPHelper;
+import com.hazelcast.internal.util.OperatingSystemMXBeanSupport;
import com.hazelcast.map.IMap;
import com.hazelcast.multimap.MultiMap;
import com.hazelcast.replicatedmap.ReplicatedMap;
@@ -104,6 +105,7 @@ class HazelcastProcessor {
if (OS.determineOS() != OS.LINUX) {
initializedClasses.produce(new RuntimeInitializedClassBuildItem(ICMPHelper.class.getName()));
}
+ initializedClasses.produce(new RuntimeInitializedClassBuildItem(OperatingSystemMXBeanSupport.class.getName()));
}
private static void registerTypeHierarchy(