JDK11 Illegal reflective access by nodeapi.internal.protonwrapper.netty.CertHoldingKeyManagerFactoryWrapper$Companion

Description

CertHoldingKeyManagerFactorySpiWrapper also has an illegal access at:

private fun getKeyManagersImpl(): Array<KeyManager> { val engineGetKeyManagersMethod = KeyManagerFactorySpi::class.java.getDeclaredMethod("engineGetKeyManagers") engineGetKeyManagersMethod.isAccessible = true

Stack trace for CertHoldingKeyManagerFactoryWrapper$Companion:

4859 WARNING: Illegal reflective access by net.corda.nodeapi.internal.protonwrapper.netty.CertHoldingKeyManagerFactoryWrapper$Companion (file:/Users/adelel-beik/.capsule/apps/net.corda.node.Corda_4.6-SNAPSHOT/corda-node-api-4.6- SNAPSHOT-jdk11.jar) to field javax.net.ssl.KeyManagerFactory.factorySpi
4860 at net.corda.nodeapi.internal.protonwrapper.netty.CertHoldingKeyManagerFactoryWrapper$Companion.getFactorySpi(CertHoldingKeyManagerFactoryWrapper.kt:69)
4861 at net.corda.nodeapi.internal.protonwrapper.netty.CertHoldingKeyManagerFactoryWrapper$Companion.access$getFactorySpi(CertHoldingKeyManagerFactoryWrapper.kt:66)
4862 at net.corda.nodeapi.internal.protonwrapper.netty.CertHoldingKeyManagerFactoryWrapper.<init>(CertHoldingKeyManagerFactoryWrapper.kt:65)
4863 at net.corda.nodeapi.internal.protonwrapper.netty.AMQPClient$ClientChannelInitializer.initChannel(AMQPClient.kt:194)
4864 at net.corda.nodeapi.internal.protonwrapper.netty.AMQPClient$ClientChannelInitializer.initChannel(AMQPClient.kt:146)
4865 at io.netty.channel.ChannelInitializer.initChannel(ChannelInitializer.java:129)
4866 at io.netty.channel.ChannelInitializer.handlerAdded(ChannelInitializer.java:112)
4867 at io.netty.channel.AbstractChannelHandlerContext.callHandlerAdded(AbstractChannelHandlerContext.java:956)
4868 at io.netty.channel.DefaultChannelPipeline.callHandlerAdded0(DefaultChannelPipeline.java:609)
4869 at io.netty.channel.DefaultChannelPipeline.access$100(DefaultChannelPipeline.java:46)
4870 at io.netty.channel.DefaultChannelPipeline$PendingHandlerAddedTask.execute(DefaultChannelPipeline.java:1463)
4871 at io.netty.channel.DefaultChannelPipeline.callHandlerAddedForAllHandlers(DefaultChannelPipeline.java:1115)
4872 at io.netty.channel.DefaultChannelPipeline.invokeHandlerAddedIfNeeded(DefaultChannelPipeline.java:650)
4873 at io.netty.channel.AbstractChannel$AbstractUnsafe.register0(AbstractChannel.java:502)
4874 at io.netty.channel.AbstractChannel$AbstractUnsafe.access$200(AbstractChannel.java:417)
4875 at io.netty.channel.AbstractChannel$AbstractUnsafe$1.run(AbstractChannel.java:474)
4876 at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164)
4877 at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472)
4878 at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500)
4879 at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
4880 at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
4881 at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
4882 at java.base/java.lang.Thread.run(Thread.java:834)

Assignee

Adel El-Beik

Reporter

Adel El-Beik

Labels

None

Sprint

None

Epic Link

None

Priority

Medium

Engineering Teams

Kernel

Fix versions

Affects versions

None

Ported to...

None

Story Points / Dev Days

10

Build cut

None

Feature Team

Kernel Group
Configure