[ 
https://issues.apache.org/jira/browse/ARTEMIS-1099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15960799#comment-15960799
 ] 

ASF GitHub Bot commented on ARTEMIS-1099:
-----------------------------------------

Github user clebertsuconic commented on a diff in the pull request:

    https://github.com/apache/activemq-artemis/pull/1184#discussion_r110390171
  
    --- 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 --
    
    Can you rename this to something like EnvChecker?
    
    We may have other cases where we have to verify if it's Linux and if it's 
64 Bits.
    
    There is some check on loading libaio that could share this code.


> 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)

Reply via email to