From 7b19823f5ffe7b97164d9d4bb58c77a04566730f Mon Sep 17 00:00:00 2001 From: Hubert Plociniczak Date: Fri, 30 Aug 2024 13:30:05 +0200 Subject: [PATCH] Update reflect-config.json to accomodate for akka changes Recently (#10905) we got rid of 2 unnecessary dependencies. That seemed to have affected the generated native-image. --- .../enso/projectmanager/reflect-config.json | 390 +++++++----------- 1 file changed, 156 insertions(+), 234 deletions(-) diff --git a/lib/scala/project-manager/src/main/resources/META-INF/native-image/org/enso/projectmanager/reflect-config.json b/lib/scala/project-manager/src/main/resources/META-INF/native-image/org/enso/projectmanager/reflect-config.json index 16f472b6eacc..2303fa6cf34d 100644 --- a/lib/scala/project-manager/src/main/resources/META-INF/native-image/org/enso/projectmanager/reflect-config.json +++ b/lib/scala/project-manager/src/main/resources/META-INF/native-image/org/enso/projectmanager/reflect-config.json @@ -1,321 +1,243 @@ [ { - "name": "akka.actor.ActorCell", - "fields": [ - { - "name": "akka$actor$dungeon$Children$$_childrenRefsDoNotCallMeDirectly", - "allowUnsafeAccess": true - }, - { - "name": "akka$actor$dungeon$Children$$_functionRefsDoNotCallMeDirectly", - "allowUnsafeAccess": true - }, - { - "name": "akka$actor$dungeon$Children$$_nextNameDoNotCallMeDirectly", - "allowUnsafeAccess": true - }, - { - "name": "akka$actor$dungeon$Dispatch$$_mailboxDoNotCallMeDirectly", - "allowUnsafeAccess": true - } - ] + "name":"akka.actor.ActorCell", + "fields":[{"name":"akka$actor$dungeon$Children$$_childrenRefsDoNotCallMeDirectly"}, {"name":"akka$actor$dungeon$Children$$_functionRefsDoNotCallMeDirectly"}, {"name":"akka$actor$dungeon$Children$$_nextNameDoNotCallMeDirectly"}, {"name":"akka$actor$dungeon$Dispatch$$_mailboxDoNotCallMeDirectly"}] }, { - "name": "akka.actor.DefaultSupervisorStrategy", - "methods": [{ "name": "", "parameterTypes": [] }] + "name":"akka.actor.DefaultSupervisorStrategy", + "methods":[{"name":"","parameterTypes":[] }] }, { - "name": "akka.actor.LightArrayRevolverScheduler", - "methods": [ - { - "name": "", - "parameterTypes": [ - "com.typesafe.config.Config", - "akka.event.LoggingAdapter", - "java.util.concurrent.ThreadFactory" - ] - } - ] + "name":"akka.actor.LightArrayRevolverScheduler", + "methods":[{"name":"","parameterTypes":["com.typesafe.config.Config","akka.event.LoggingAdapter","java.util.concurrent.ThreadFactory"] }] }, { - "name": "akka.actor.LightArrayRevolverScheduler$TaskHolder", - "fields": [{ "name": "task", "allowUnsafeAccess": true }] + "name":"akka.actor.LightArrayRevolverScheduler$TaskHolder", + "fields":[{"name":"task"}] }, - { "name": "akka.actor.LightArrayRevolverScheduler$TaskQueue[]" }, { - "name": "akka.actor.LocalActorRefProvider", - "methods": [ - { - "name": "", - "parameterTypes": [ - "java.lang.String", - "akka.actor.ActorSystem$Settings", - "akka.event.EventStream", - "akka.actor.DynamicAccess" - ] - } - ] + "name":"akka.actor.LocalActorRefProvider", + "methods":[{"name":"","parameterTypes":["java.lang.String","akka.actor.ActorSystem$Settings","akka.event.EventStream","akka.actor.DynamicAccess"] }] }, { - "name": "akka.actor.LocalActorRefProvider$Guardian", - "allDeclaredConstructors": true + "name":"akka.actor.LocalActorRefProvider$Guardian", + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":["akka.actor.SupervisorStrategy"] }] }, { - "name": "akka.actor.LocalActorRefProvider$SystemGuardian", - "allDeclaredConstructors": true + "name":"akka.actor.LocalActorRefProvider$SystemGuardian", + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":["akka.actor.SupervisorStrategy","akka.actor.ActorRef"] }] }, { - "name": "akka.actor.Props$EmptyActor", - "methods": [{ "name": "", "parameterTypes": [] }] + "name":"akka.actor.Props$EmptyActor", + "methods":[{"name":"","parameterTypes":[] }] }, { - "name": "akka.actor.RepointableActorRef", - "fields": [ - { "name": "_cellDoNotCallMeDirectly", "allowUnsafeAccess": true }, - { "name": "_lookupDoNotCallMeDirectly", "allowUnsafeAccess": true } - ] + "name":"akka.actor.RepointableActorRef", + "fields":[{"name":"_cellDoNotCallMeDirectly"}, {"name":"_lookupDoNotCallMeDirectly"}] }, - { "name": "akka.actor.typed.ActorRef" }, { - "name": "akka.actor.typed.internal.MiscMessageSerializer", - "methods": [ - { "name": "", "parameterTypes": ["akka.actor.ExtendedActorSystem"] } - ] + "name":"akka.dispatch.AbstractNodeQueue", + "fields":[{"name":"_tailDoNotCallMeDirectly"}] }, - { "name": "akka.actor.typed.internal.adapter.ActorRefAdapter" }, { - "name": "akka.actor.typed.internal.adapter.ActorSystemAdapter$LoadTypedExtensions$", - "fields": [{ "name": "MODULE$" }] + "name":"akka.dispatch.AbstractNodeQueue$Node", + "fields":[{"name":"_nextDoNotCallMeDirectly"}] }, - { "name": "akka.actor.typed.internal.receptionist.DefaultServiceKey" }, { - "name": "akka.actor.typed.internal.receptionist.ServiceKeySerializer", - "methods": [ - { "name": "", "parameterTypes": ["akka.actor.ExtendedActorSystem"] } - ] + "name":"akka.dispatch.BoundedControlAwareMessageQueueSemantics" }, { - "name": "akka.actor.typed.receptionist.Receptionist$", - "fields": [{ "name": "MODULE$" }] + "name":"akka.dispatch.BoundedDequeBasedMessageQueueSemantics" }, { - "name": "akka.dispatch.AbstractNodeQueue", - "fields": [ - { "name": "_tailDoNotCallMeDirectly", "allowUnsafeAccess": true } - ] + "name":"akka.dispatch.BoundedMessageQueueSemantics" }, { - "name": "akka.dispatch.AbstractNodeQueue$Node", - "fields": [ - { "name": "_nextDoNotCallMeDirectly", "allowUnsafeAccess": true } - ] + "name":"akka.dispatch.ControlAwareMessageQueueSemantics" }, - { "name": "akka.dispatch.BoundedControlAwareMessageQueueSemantics" }, - { "name": "akka.dispatch.BoundedDequeBasedMessageQueueSemantics" }, - { "name": "akka.dispatch.BoundedMessageQueueSemantics" }, - { "name": "akka.dispatch.ControlAwareMessageQueueSemantics" }, - { "name": "akka.dispatch.DequeBasedMessageQueueSemantics" }, { - "name": "akka.dispatch.Mailbox", - "fields": [ - { "name": "_statusDoNotCallMeDirectly", "allowUnsafeAccess": true }, - { "name": "_systemQueueDoNotCallMeDirectly", "allowUnsafeAccess": true } - ] + "name":"akka.dispatch.DequeBasedMessageQueueSemantics" }, { - "name": "akka.dispatch.MessageDispatcher", - "fields": [ - { "name": "_inhabitantsDoNotCallMeDirectly", "allowUnsafeAccess": true }, - { - "name": "_shutdownScheduleDoNotCallMeDirectly", - "allowUnsafeAccess": true - } - ] + "name":"akka.dispatch.Dispatcher", + "fields":[{"name":"executorServiceDelegate"}] }, - { "name": "akka.dispatch.MultipleConsumerSemantics" }, { - "name": "akka.dispatch.SingleConsumerOnlyUnboundedMailbox", - "methods": [ - { - "name": "", - "parameterTypes": [ - "akka.actor.ActorSystem$Settings", - "com.typesafe.config.Config" - ] - } - ] + "name":"akka.dispatch.Mailbox", + "fields":[{"name":"_statusDoNotCallMeDirectly"}, {"name":"_systemQueueDoNotCallMeDirectly"}] }, - { "name": "akka.dispatch.UnboundedControlAwareMessageQueueSemantics" }, { - "name": "akka.dispatch.UnboundedDequeBasedMailbox", - "methods": [ - { - "name": "", - "parameterTypes": [ - "akka.actor.ActorSystem$Settings", - "com.typesafe.config.Config" - ] - } - ] + "name":"akka.dispatch.MessageDispatcher", + "fields":[{"name":"_inhabitantsDoNotCallMeDirectly"}, {"name":"_shutdownScheduleDoNotCallMeDirectly"}] }, - { "name": "akka.dispatch.UnboundedDequeBasedMessageQueueSemantics" }, { - "name": "akka.dispatch.UnboundedMailbox", - "methods": [ - { - "name": "", - "parameterTypes": [ - "akka.actor.ActorSystem$Settings", - "com.typesafe.config.Config" - ] - } - ] + "name":"akka.dispatch.MultipleConsumerSemantics" }, - { "name": "akka.dispatch.UnboundedMessageQueueSemantics" }, { - "name": "akka.event.DeadLetterListener", - "methods": [{ "name": "", "parameterTypes": [] }] + "name":"akka.dispatch.UnboundedControlAwareMessageQueueSemantics" }, { - "name": "akka.event.EventStreamUnsubscriber", - "allDeclaredConstructors": true + "name":"akka.dispatch.UnboundedDequeBasedMailbox", + "methods":[{"name":"","parameterTypes":["akka.actor.ActorSystem$Settings","com.typesafe.config.Config"] }] }, { - "name": "akka.event.LoggerMailboxType", - "methods": [ - { - "name": "", - "parameterTypes": [ - "akka.actor.ActorSystem$Settings", - "com.typesafe.config.Config" - ] - } - ] + "name":"akka.dispatch.UnboundedDequeBasedMessageQueueSemantics" }, - { "name": "akka.event.LoggerMessageQueueSemantics" }, { - "name": "akka.event.slf4j.Slf4jLogger", - "methods": [{ "name": "", "parameterTypes": [] }] + "name":"akka.dispatch.UnboundedMailbox", + "methods":[{"name":"","parameterTypes":["akka.actor.ActorSystem$Settings","com.typesafe.config.Config"] }] }, { - "name": "akka.event.slf4j.Slf4jLoggingFilter", - "methods": [ - { - "name": "", - "parameterTypes": [ - "akka.actor.ActorSystem$Settings", - "akka.event.EventStream" - ] - } - ] + "name":"akka.dispatch.UnboundedMessageQueueSemantics" }, { - "name": "akka.http.DefaultParsingErrorHandler$", - "methods": [{ "name": "", "parameterTypes": [] }] + "name":"akka.event.DeadLetterListener", + "methods":[{"name":"","parameterTypes":[] }] }, { - "name": "akka.http.impl.engine.client.PoolMasterActor", - "methods": [{ "name": "", "parameterTypes": [] }] + "name":"akka.event.DefaultLoggingFilter", + "methods":[{"name":"","parameterTypes":["akka.actor.ActorSystem$Settings","akka.event.EventStream"] }] }, { - "name": "akka.io.InetAddressDnsProvider", - "methods": [{ "name": "", "parameterTypes": [] }] + "name":"akka.event.EventStreamUnsubscriber", + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":["akka.event.EventStream","boolean"] }] }, - { "name": "akka.io.InetAddressDnsResolver", "allDeclaredConstructors": true }, - { "name": "akka.io.SelectionHandler", "allDeclaredConstructors": true }, - { "name": "akka.io.SimpleDnsManager", "allDeclaredConstructors": true }, - { "name": "akka.io.TcpIncomingConnection", "allDeclaredConstructors": true }, - { "name": "akka.io.TcpListener", "allDeclaredConstructors": true }, - { "name": "akka.io.TcpManager", "allDeclaredConstructors": true }, - { "name": "akka.io.TcpOutgoingConnection", "allDeclaredConstructors": true }, - { "name": "akka.io.dns.RecordType[]" }, - { - "name": "akka.pattern.PromiseActorRef", - "fields": [ - { "name": "_stateDoNotCallMeDirectly", "allowUnsafeAccess": true }, - { "name": "_watchedByDoNotCallMeDirectly", "allowUnsafeAccess": true } - ] + { + "name":"akka.event.LoggerMailboxType", + "methods":[{"name":"","parameterTypes":["akka.actor.ActorSystem$Settings","com.typesafe.config.Config"] }] }, { - "name": "akka.routing.ConsistentHashingPool", - "methods": [ - { "name": "", "parameterTypes": ["com.typesafe.config.Config"] } - ] + "name":"akka.event.LoggerMessageQueueSemantics" }, - { "name": "akka.routing.ConsistentRoutee[]" }, { - "name": "akka.routing.RoundRobinPool", - "methods": [ - { "name": "", "parameterTypes": ["com.typesafe.config.Config"] } - ] + "name":"akka.event.Logging$DefaultLogger", + "methods":[{"name":"","parameterTypes":[] }] }, { - "name": "akka.routing.RoutedActorCell$RouterActorCreator", - "allDeclaredConstructors": true + "name":"akka.http.DefaultParsingErrorHandler$", + "methods":[{"name":"","parameterTypes":[] }] }, { - "name": "akka.serialization.BooleanSerializer", - "methods": [ - { "name": "", "parameterTypes": ["akka.actor.ExtendedActorSystem"] } - ] + "name":"akka.http.impl.engine.client.PoolMasterActor", + "methods":[{"name":"","parameterTypes":[] }] }, { - "name": "akka.serialization.ByteArraySerializer", - "methods": [ - { "name": "", "parameterTypes": ["akka.actor.ExtendedActorSystem"] } - ] + "name":"akka.io.InetAddressDnsProvider", + "methods":[{"name":"","parameterTypes":[] }] }, { - "name": "akka.serialization.ByteStringSerializer", - "methods": [ - { "name": "", "parameterTypes": ["akka.actor.ExtendedActorSystem"] } - ] + "name":"akka.io.InetAddressDnsResolver", + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":["akka.io.SimpleDnsCache","com.typesafe.config.Config"] }] }, { - "name": "akka.serialization.DisabledJavaSerializer", - "methods": [ - { "name": "", "parameterTypes": ["akka.actor.ExtendedActorSystem"] } - ] + "name":"akka.io.SelectionHandler", + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":["akka.io.SelectionHandlerSettings"] }] }, { - "name": "akka.serialization.IntSerializer", - "methods": [ - { "name": "", "parameterTypes": ["akka.actor.ExtendedActorSystem"] } - ] + "name":"akka.io.SimpleDnsManager", + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":["akka.io.DnsExt"] }] }, { - "name": "akka.serialization.LongSerializer", - "methods": [ - { "name": "", "parameterTypes": ["akka.actor.ExtendedActorSystem"] } - ] + "name":"akka.io.TcpIncomingConnection", + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":["akka.io.TcpExt","java.nio.channels.SocketChannel","akka.io.ChannelRegistry","akka.actor.ActorRef","scala.collection.immutable.Iterable","boolean"] }] }, { - "name": "akka.serialization.SerializationExtension$", - "fields": [{ "name": "MODULE$" }] + "name":"akka.io.TcpListener", + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":["akka.actor.ActorRef","akka.io.TcpExt","akka.io.ChannelRegistry","akka.actor.ActorRef","akka.io.Tcp$Bind"] }] }, { - "name": "akka.serialization.StringSerializer", - "methods": [ - { "name": "", "parameterTypes": ["akka.actor.ExtendedActorSystem"] } - ] + "name":"akka.io.TcpManager", + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":["akka.io.TcpExt"] }] }, - { "name": "akka.stream.SinkRef" }, - { "name": "akka.stream.SourceRef" }, { - "name": "akka.stream.SystemMaterializer$", - "fields": [{ "name": "MODULE$" }] + "name":"akka.io.TcpOutgoingConnection", + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":["akka.io.TcpExt","akka.io.ChannelRegistry","akka.actor.ActorRef","akka.io.Tcp$Connect"] }] }, - { "name": "akka.stream.impl.streamref.StreamRefsProtocol" }, { - "name": "akka.stream.serialization.StreamRefSerializer", - "methods": [ - { "name": "", "parameterTypes": ["akka.actor.ExtendedActorSystem"] } - ] + "name":"akka.pattern.PromiseActorRef", + "fields":[{"name":"_stateDoNotCallMeDirectly"}, {"name":"_watchedByDoNotCallMeDirectly"}] + }, + { + "name":"akka.routing.ConsistentHashingPool", + "methods":[{"name":"","parameterTypes":["com.typesafe.config.Config"] }] + }, + { + "name":"akka.routing.RoundRobinPool", + "methods":[{"name":"","parameterTypes":["com.typesafe.config.Config"] }] + }, + { + "name":"akka.routing.RoutedActorCell$RouterActorCreator", + "queryAllDeclaredConstructors":true, + "methods":[{"name":"","parameterTypes":["akka.routing.RouterConfig"] }] + }, + { + "name":"akka.serialization.BooleanSerializer", + "methods":[{"name":"","parameterTypes":["akka.actor.ExtendedActorSystem"] }] + }, + { + "name":"akka.serialization.ByteArraySerializer", + "methods":[{"name":"","parameterTypes":["akka.actor.ExtendedActorSystem"] }] + }, + { + "name":"akka.serialization.ByteStringSerializer", + "methods":[{"name":"","parameterTypes":["akka.actor.ExtendedActorSystem"] }] + }, + { + "name":"akka.serialization.DisabledJavaSerializer", + "methods":[{"name":"","parameterTypes":["akka.actor.ExtendedActorSystem"] }] + }, + { + "name":"akka.serialization.IntSerializer", + "methods":[{"name":"","parameterTypes":["akka.actor.ExtendedActorSystem"] }] + }, + { + "name":"akka.serialization.LongSerializer", + "methods":[{"name":"","parameterTypes":["akka.actor.ExtendedActorSystem"] }] + }, + { + "name":"akka.serialization.SerializationExtension$", + "fields":[{"name":"MODULE$"}] + }, + { + "name":"akka.serialization.StringSerializer", + "methods":[{"name":"","parameterTypes":["akka.actor.ExtendedActorSystem"] }] + }, + { + "name":"akka.stream.SinkRef" + }, + { + "name":"akka.stream.SourceRef" + }, + { + "name":"akka.stream.SystemMaterializer$", + "fields":[{"name":"MODULE$"}] + }, + { + "name":"akka.stream.impl.streamref.StreamRefsProtocol" + }, + { + "name":"akka.stream.serialization.StreamRefSerializer", + "methods":[{"name":"","parameterTypes":["akka.actor.ExtendedActorSystem"] }] + }, + { + "name":"akka.util.ByteString$ByteString1" + }, + { + "name":"akka.util.ByteString$ByteString1C" + }, + { + "name":"akka.util.ByteString$ByteStrings" }, - { "name": "akka.stream.stage.GraphStageLogic[]" }, - { "name": "akka.util.ByteString$ByteString1" }, - { "name": "akka.util.ByteString$ByteString1C" }, - { "name": "akka.util.ByteString$ByteStrings" }, { "name": "com.sun.crypto.provider.TlsMasterSecretGenerator", "methods": [{ "name": "", "parameterTypes": [] }]