[
https://issues.apache.org/jira/browse/ARTEMIS-1099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15960816#comment-15960816
]
ASF GitHub Bot commented on ARTEMIS-1099:
-----------------------------------------
Github user franz1981 commented on a diff in the pull request:
https://github.com/apache/activemq-artemis/pull/1184#discussion_r110392809
--- Diff:
artemis-core-client/src/main/java/org/apache/activemq/artemis/core/remoting/impl/netty/Epoll.java
---
@@ -0,0 +1,60 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.activemq.artemis.core.remoting.impl.netty;
+
+/**
+ * Tells if <a href="http://netty.io/wiki/native-transports.html">{@code
netty-transport-native-epoll}</a> is supported.
+ */
+public final class Epoll {
--- End diff --
I've just added the common Env class to check the JVM bitness and OS type
:+1:
> Force Netty EPOLL to be available only on Linux 64bit platforms
> ---------------------------------------------------------------
>
> Key: ARTEMIS-1099
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1099
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Reporter: Francesco Nigro
> Assignee: Francesco Nigro
>
> On 32 bit JVMs and/or OS (linux) the library fail to be loaded due to the
> mismatching ELF format (architecture word width mismatch).
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)