Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-8093

Illegal reflective access by IntrospectionSupport

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 5.15.13
    • Fix Version/s: None
    • Component/s: Broker, JMS client
    • Labels:
      None
    • Environment:

      Java 11

      Description

      This warning occurred when we try to connect to ActiveMQ using SSL in a springboot application:

       

      WARNING: An illegal reflective access operation has occurred
      WARNING: Illegal reflective access by org.apache.activemq.util.IntrospectionSupport (file:/C:/Users/user/.m2/repository/org/apache/activemq/activemq-client/5.15.13/activemq-client-5.15.13.jar) to method sun.security.ssl.SSLSocketImpl.setHost(java.lang.String)
      WARNING: Please consider reporting this to the maintainers of org.apache.activemq.util.IntrospectionSupport
      WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
      WARNING: All illegal access operations will be denied in a future release

       


       

      WARNING: Illegal reflective access by org.apache.activemq.util.IntrospectionSupport (file:/C:/Users/user/.m2/repository/org/apache/activemq/activemq-client/5.15.13/activemq-client-5.15.13.jar) to method sun.security.ssl.SSLSocketImpl.setHost(java.lang.String) at org.apache.activemq.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:181) at org.apache.activemq.util.IntrospectionSupport.setProperties(IntrospectionSupport.java:155) at org.apache.activemq.util.IntrospectionSupport.setProperties(IntrospectionSupport.java:140) at org.apache.activemq.transport.tcp.SslTransport.<init>(SslTransport.java:81) at org.apache.activemq.transport.tcp.SslTransportFactory.createTransport(SslTransportFactory.java:122) at org.apache.activemq.transport.TransportFactory.doConnect(TransportFactory.java:120) at org.apache.activemq.transport.TransportFactory.connect(TransportFactory.java:65) at org.apache.activemq.ActiveMQConnectionFactory.createTransport(ActiveMQConnectionFactory.java:331)

        Attachments

          Activity

            People

            • Assignee:
              jbonofre Jean-Baptiste Onofré
              Reporter:
              aj_menteng John C
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: