JDK11 Illegal reflective access by com.esotericsoftware.kryo.util.UnsafeUtil

Description

I'll use this issue to cover illegal access by esotericsoftware kryo. With one stack trace show below.

755 WARNING: Illegal reflective access by com.esotericsoftware.kryo.util.UnsafeUtil (file:/Users/adelel-beik/.capsule/apps/net.corda.node.Corda_4.6-SNA PSHOT/kryo-4.0.2.jar) to constructor java.nio.DirectByteBuffer(long,int,java.lang.Object)
756 at com.esotericsoftware.kryo.util.UnsafeUtil.<clinit>(UnsafeUtil.java:99)
757 at com.esotericsoftware.kryo.serializers.FieldSerializer.<clinit>(FieldSerializer.java:117)
758 at com.esotericsoftware.kryo.serializers.FieldSerializerConfig.<init>(FieldSerializerConfig.java:46)
759 at com.esotericsoftware.kryo.Kryo.<init>(Kryo.java:154)
760 at com.esotericsoftware.kryo.Kryo.<init>(Kryo.java:161)
761 at co.paralleluniverse.io.serialization.kryo.ReplaceableObjectKryo.<init>(ReplaceableObjectKryo.java:59)
762 at co.paralleluniverse.io.serialization.kryo.KryoUtil.newKryo(KryoUtil.java:34)
763 at co.paralleluniverse.io.serialization.kryo.KryoSerializer.<init>(KryoSerializer.java:40)
764 at co.paralleluniverse.fibers.Fiber.getFiberSerializer(Fiber.java:2074)
765 at net.corda.nodeapi.internal.serialization.kryo.KryoCheckpointSerializer$getPool$1$1.create(KryoCheckpointSerializer.kt:48)
766 at com.esotericsoftware.kryo.pool.KryoPoolQueueImpl.borrow(KryoPoolQueueImpl.java:48)
767 at com.esotericsoftware.kryo.pool.KryoPoolQueueImpl.run(KryoPoolQueueImpl.java:56)
768 at net.corda.nodeapi.internal.serialization.kryo.KryoCheckpointSerializer.kryo(KryoCheckpointSerializer.kt:66)
769 at net.corda.nodeapi.internal.serialization.kryo.KryoCheckpointSerializer.serialize(KryoCheckpointSerializer.kt:106)
770 at net.corda.serialization.internal.CheckpointSerializeAsTokenContextImpl$1.invoke(SerializeAsTokenContextImpl.kt:74)
771 at net.corda.serialization.internal.CheckpointSerializeAsTokenContextImpl$1.invoke(SerializeAsTokenContextImpl.kt:72)
772 at net.corda.serialization.internal.CheckpointSerializeAsTokenContextImpl.<init>(SerializeAsTokenContextImpl.kt:90)
773 at net.corda.serialization.internal.CheckpointSerializeAsTokenContextImpl.<init>(SerializeAsTokenContextImpl.kt:73)
774 at net.corda.node.internal.CheckpointVerifier.verifyCheckpointsCompatible(CheckpointVerifier.kt:29)
775 at net.corda.node.internal.AbstractNode.verifyCheckpointsCompatible(AbstractNode.kt:583)
776 at net.corda.node.internal.AbstractNode.access$verifyCheckpointsCompatible(AbstractNode.kt:207)
777 at net.corda.node.internal.AbstractNode$start$8.invoke(AbstractNode.kt:544)
778 at net.corda.node.internal.AbstractNode$start$8.invoke(AbstractNode.kt:207)
779 at net.corda.nodeapi.internal.persistence.CordaPersistence.inTopLevelTransaction(CordaPersistence.kt:284)
780 at net.corda.nodeapi.internal.persistence.CordaPersistence.transaction(CordaPersistence.kt:249)
781 at net.corda.nodeapi.internal.persistence.CordaPersistence.transaction(CordaPersistence.kt:270)
782 at net.corda.node.internal.AbstractNode.start(AbstractNode.kt:525)
783 at net.corda.node.internal.Node.start(Node.kt:565)
784 at net.corda.node.internal.NodeStartup.startNode(NodeStartup.kt:219)
785 at net.corda.node.internal.NodeStartupCli$runProgram$2.run(NodeStartup.kt:135)
786 at net.corda.node.internal.NodeStartup$initialiseAndRun$5.invoke(NodeStartup.kt:196)
787 at net.corda.node.internal.NodeStartup$initialiseAndRun$5.invoke(NodeStartup.kt:142)

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