From f05997d58c39610f343f930b35162f654e68feb8 Mon Sep 17 00:00:00 2001 From: Jaroslav Tulach Date: Thu, 19 Sep 2024 15:44:42 +0200 Subject: [PATCH] Removing serialization metadata (#11128) --- .../org/enso/runner/reflect-config.json | 11 +- .../org/enso/runner/serialization-config.json | 267 ------------------ 2 files changed, 9 insertions(+), 269 deletions(-) diff --git a/engine/runner/src/main/resources/META-INF/native-image/org/enso/runner/reflect-config.json b/engine/runner/src/main/resources/META-INF/native-image/org/enso/runner/reflect-config.json index 7b8769216c..7a18744c81 100644 --- a/engine/runner/src/main/resources/META-INF/native-image/org/enso/runner/reflect-config.json +++ b/engine/runner/src/main/resources/META-INF/native-image/org/enso/runner/reflect-config.json @@ -428,7 +428,10 @@ }, { "name":"java.lang.Object", - "methods":[{"name":"equals","parameterTypes":["java.lang.Object"] }, {"name":"hashCode","parameterTypes":[] }, {"name":"toString","parameterTypes":[] }] + "methods":[ + {"name":"", "parameterTypes":[]}, + {"name":"equals","parameterTypes":["java.lang.Object"] }, {"name":"hashCode","parameterTypes":[] }, {"name":"toString","parameterTypes":[] } + ] }, { "name":"java.lang.OutOfMemoryError" @@ -446,7 +449,11 @@ }, { "name":"java.lang.String", - "fields":[{"name":"TYPE"}, {"name":"value"}] + "fields":[{"name":"TYPE"}, {"name":"CASE_INSENSITIVE_ORDER"}, {"name":"value"}], + "methods":[ + {"name":"","parameterTypes":["java.lang.String"]}, + {"name":"format","parameterTypes":["java.lang.String", "java.lang.Object[]"]} + ] }, { "name":"java.lang.StringBuilder" diff --git a/engine/runner/src/main/resources/META-INF/native-image/org/enso/runner/serialization-config.json b/engine/runner/src/main/resources/META-INF/native-image/org/enso/runner/serialization-config.json index b8f5b003a4..f3d7e06e33 100644 --- a/engine/runner/src/main/resources/META-INF/native-image/org/enso/runner/serialization-config.json +++ b/engine/runner/src/main/resources/META-INF/native-image/org/enso/runner/serialization-config.json @@ -1,272 +1,5 @@ { "types":[ - { - "name":"java.lang.Integer" - }, - { - "name":"java.lang.Number" - }, - { - "name":"java.lang.String" - }, - { - "name":"java.util.UUID" - }, - { - "name":"org.enso.compiler.core.ir.DiagnosticStorage" - }, - { - "name":"org.enso.compiler.core.ir.MetadataStorage" - }, - { - "name":"org.enso.compiler.data.BindingsMap" - }, - { - "name":"org.enso.compiler.data.BindingsMap$Cons" - }, - { - "name":"org.enso.compiler.data.BindingsMap$ExportedModule" - }, - { - "name":"org.enso.compiler.data.BindingsMap$ModuleMethod" - }, - { - "name":"org.enso.compiler.data.BindingsMap$ModuleReference$Abstract" - }, - { - "name":"org.enso.compiler.data.BindingsMap$PolyglotSymbol" - }, - { - "name":"org.enso.compiler.data.BindingsMap$Resolution" - }, - { - "name":"org.enso.compiler.data.BindingsMap$ResolvedConstructor" - }, - { - "name":"org.enso.compiler.data.BindingsMap$ResolvedImport" - }, - { - "name":"org.enso.compiler.data.BindingsMap$ResolvedMethod" - }, - { - "name":"org.enso.compiler.data.BindingsMap$ResolvedModule" - }, - { - "name":"org.enso.compiler.data.BindingsMap$ResolvedPolyglotSymbol" - }, - { - "name":"org.enso.compiler.data.BindingsMap$SymbolRestriction$AllowedResolution" - }, - { - "name":"org.enso.compiler.data.BindingsMap$SymbolRestriction$Hiding" - }, - { - "name":"org.enso.compiler.data.BindingsMap$SymbolRestriction$Intersect" - }, - { - "name":"org.enso.compiler.data.BindingsMap$SymbolRestriction$Only" - }, - { - "name":"org.enso.compiler.data.BindingsMap$SymbolRestriction$Union" - }, - { - "name":"org.enso.compiler.data.BindingsMap$Type" - }, - { - "name":"org.enso.compiler.pass.analyse.AliasAnalysis$" - }, - { - "name":"org.enso.compiler.pass.analyse.AliasAnalysis$Graph" - }, - { - "name":"org.enso.compiler.pass.analyse.AliasAnalysis$Graph$Link" - }, - { - "name":"org.enso.compiler.pass.analyse.AliasAnalysis$Graph$Occurrence$Def" - }, - { - "name":"org.enso.compiler.pass.analyse.AliasAnalysis$Graph$Occurrence$Use" - }, - { - "name":"org.enso.compiler.pass.analyse.AliasAnalysis$Graph$Scope" - }, - { - "name":"org.enso.compiler.pass.analyse.AliasAnalysis$Info$Occurrence" - }, - { - "name":"org.enso.compiler.pass.analyse.AliasAnalysis$Info$Scope$Child" - }, - { - "name":"org.enso.compiler.pass.analyse.AliasAnalysis$Info$Scope$Root" - }, - { - "name":"org.enso.compiler.pass.analyse.BindingAnalysis$" - }, - { - "name":"org.enso.compiler.pass.analyse.CachePreferenceAnalysis$" - }, - { - "name":"org.enso.compiler.pass.analyse.CachePreferenceAnalysis$WeightInfo" - }, - { - "name":"org.enso.compiler.pass.analyse.DataflowAnalysis$" - }, - { - "name":"org.enso.compiler.pass.analyse.DataflowAnalysis$DependencyInfo" - }, - { - "name":"org.enso.compiler.pass.analyse.DataflowAnalysis$DependencyInfo$Type$Dynamic" - }, - { - "name":"org.enso.compiler.pass.analyse.DataflowAnalysis$DependencyInfo$Type$Static" - }, - { - "name":"org.enso.compiler.pass.analyse.DataflowAnalysis$DependencyMapping" - }, - { - "name":"org.enso.compiler.pass.analyse.GatherDiagnostics$" - }, - { - "name":"org.enso.compiler.pass.analyse.GatherDiagnostics$DiagnosticsMeta" - }, - { - "name":"org.enso.compiler.pass.analyse.TailCall$" - }, - { - "name":"org.enso.compiler.pass.analyse.TailCall$TailPosition$NotTail$" - }, - { - "name":"org.enso.compiler.pass.analyse.TailCall$TailPosition$Tail$" - }, - { - "name":"org.enso.compiler.pass.resolve.DocumentationComments$" - }, - { - "name":"org.enso.compiler.pass.resolve.DocumentationComments$Doc" - }, - { - "name":"org.enso.compiler.pass.resolve.ExpressionAnnotations$" - }, - { - "name":"org.enso.compiler.pass.resolve.GlobalNames$" - }, - { - "name":"org.enso.compiler.pass.resolve.IgnoredBindings$" - }, - { - "name":"org.enso.compiler.pass.resolve.IgnoredBindings$State$Ignored$" - }, - { - "name":"org.enso.compiler.pass.resolve.IgnoredBindings$State$NotIgnored$" - }, - { - "name":"org.enso.compiler.pass.resolve.MethodCalls$" - }, - { - "name":"org.enso.compiler.pass.resolve.MethodDefinitions$" - }, - { - "name":"org.enso.compiler.pass.resolve.ModuleAnnotations$" - }, - { - "name":"org.enso.compiler.pass.resolve.ModuleAnnotations$Annotations" - }, - { - "name":"org.enso.compiler.pass.resolve.Patterns$" - }, - { - "name":"org.enso.compiler.pass.resolve.TypeSignatures$" - }, - { - "name":"org.enso.compiler.pass.resolve.TypeSignatures$Signature" - }, - { - "name":"org.enso.pkg.QualifiedName" - }, - { - "name":"org.enso.syntax.text.Location" - }, - { - "name":"scala.None$" - }, - { - "name":"scala.Option" - }, - { - "name":"scala.Some" - }, - { - "name":"scala.Tuple2" - }, - { - "name":"scala.collection.IterableFactory$ToFactory" - }, - { - "name":"scala.collection.MapFactory$ToFactory" - }, - { - "name":"scala.collection.generic.DefaultSerializationProxy" - }, - { - "name":"scala.collection.generic.SerializeEnd$" - }, - { - "name":"scala.collection.immutable.HashMap" - }, - { - "name":"scala.collection.immutable.HashMap$" - }, - { - "name":"scala.collection.immutable.HashSet" - }, - { - "name":"scala.collection.immutable.HashSet$" - }, - { - "name":"scala.collection.immutable.List" - }, - { - "name":"scala.collection.immutable.List$" - }, - { - "name":"scala.collection.immutable.Map" - }, - { - "name":"scala.collection.immutable.Map$EmptyMap$" - }, - { - "name":"scala.collection.immutable.Map$Map1" - }, - { - "name":"scala.collection.immutable.Map$Map2" - }, - { - "name":"scala.collection.immutable.Map$Map3" - }, - { - "name":"scala.collection.immutable.Map$Map4" - }, - { - "name":"scala.collection.immutable.Set$EmptySet$" - }, - { - "name":"scala.collection.immutable.Set$Set1" - }, - { - "name":"scala.collection.immutable.Set$Set2" - }, - { - "name":"scala.collection.immutable.Set$Set3" - }, - { - "name":"scala.collection.immutable.Set$Set4" - }, - { - "name":"scala.collection.mutable.HashMap$DeserializationFactory" - }, - { - "name":"scala.runtime.ModuleSerializationProxy" - } ], "lambdaCapturingTypes":[ ],