Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-21015

A restricted method has been called by org.apache.activemq.artemis.nativo.jlibaio.LibaioContext

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 37.0.1.Final
    • JMS
    • ---
    • ---

      When starting the server (through an Arquillian test), I get:

      WARNING: A restricted method in java.lang.System has been called
      WARNING: java.lang.System::loadLibrary has been called by org.apache.activemq.artemis.nativo.jlibaio.LibaioContext in an unnamed module (jar:file:/C:/Dev/Servers/wildfly-37.0.1.Final/modules/system/layers/base/org/apache/activemq/artemis/journal/main/activemq-artemis-native-2.0.0.jar!/)
      WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
      WARNING: Restricted methods will be blocked in a future release unless native access is enabled

      It should be looked at before it turns into a failure.

      Using Java 25.

              ehugonne1@redhat.com Emmanuel Hugonnet
              omega09 N L
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: