[
https://issues.apache.org/jira/browse/AMQ-8275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17462090#comment-17462090
]
ASF subversion and git services commented on AMQ-8275:
------------------------------------------------------
Commit 18b231bf9f6f86ce49500ddc4d650e144e3751b1 in activemq's branch
refs/heads/main from Jean-Baptiste Onofré
[ https://gitbox.apache.org/repos/asf?p=activemq.git;h=18b231b ]
Merge pull request #711 from jgallimore/AMQ-8275
AMQ-8275 - Java 16 SSL - reflection warning
> Java 16 SSL connection gives an error in the log
> ------------------------------------------------
>
> Key: AMQ-8275
> URL: https://issues.apache.org/jira/browse/AMQ-8275
> Project: ActiveMQ
> Issue Type: Bug
> Components: AMQP
> Affects Versions: 5.16.2
> Reporter: Evgeni Gordeev
> Assignee: Jean-Baptiste Onofré
> Priority: Minor
> Fix For: 5.17.0, 5.16.4
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> 2021-05-21 13:53:37.775 ERROR [Row Crops - Integration,,] 449 --- [
> main] o.a.activemq.util.IntrospectionSupport : Could not set property host
> on Socket[unconnected]2021-05-21 13:53:37.775 ERROR [Row Crops -
> Integration,,] 449 --- [ main]
> o.a.activemq.util.IntrospectionSupport : Could not set property host on
> Socket[unconnected]
> java.lang.reflect.InaccessibleObjectException: Unable to make public void
> sun.security.ssl.SSLSocketImpl.setHost(java.lang.String) accessible: module
> java.base does not "exports sun.security.ssl" to unnamed module @636b3685 at
> java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:357)
> at
> java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
> at java.base/java.lang.reflect.Method.checkCanSetAccessible(Method.java:199)
> at java.base/java.lang.reflect.Method.setAccessible(Method.java:193) at
> org.apache.activemq.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:179)
> 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)
> at
> org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:346)
> at
> org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:304)
> at
> org.apache.activemq.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:244)
--
This message was sent by Atlassian Jira
(v8.20.1#820001)