From 275be59c252efa9affe5cc10fbfd4fd25c435c3f Mon Sep 17 00:00:00 2001 From: AsamK Date: Tue, 26 Apr 2022 22:53:47 +0200 Subject: [PATCH] Fix graalvm native build Fixes #944 --- graalvm-config-dir/reflect-config.json | 24 ++++++++++++++++---- graalvm-config-dir/serialization-config.json | 8 +++++-- 2 files changed, 26 insertions(+), 6 deletions(-) diff --git a/graalvm-config-dir/reflect-config.json b/graalvm-config-dir/reflect-config.json index 7827feef..9f7f9526 100644 --- a/graalvm-config-dir/reflect-config.json +++ b/graalvm-config-dir/reflect-config.json @@ -495,7 +495,11 @@ "allDeclaredFields":true, "queryAllDeclaredMethods":true, "queryAllDeclaredConstructors":true, - "methods":[{"name":"","parameterTypes":["java.lang.String","java.lang.String"] }] + "methods":[ + {"name":"","parameterTypes":["java.lang.String","java.lang.String"] }, + {"name":"deviceLinkUri","parameterTypes":[] }, + {"name":"deviceName","parameterTypes":[] } + ] }, { "name":"org.asamk.signal.commands.FinishLinkCommand$JsonFinishLink", @@ -578,7 +582,11 @@ "allDeclaredFields":true, "queryAllDeclaredMethods":true, "queryAllDeclaredConstructors":true, - "methods":[{"name":"","parameterTypes":["java.lang.Boolean","java.lang.String"] }] + "methods":[ + {"name":"","parameterTypes":["java.lang.Boolean","java.lang.String"] }, + {"name":"captcha","parameterTypes":[] }, + {"name":"voice","parameterTypes":[] } + ] }, { "name":"org.asamk.signal.commands.StartLinkCommand$JsonLink", @@ -592,7 +600,11 @@ "allDeclaredFields":true, "queryAllDeclaredMethods":true, "queryAllDeclaredConstructors":true, - "methods":[{"name":"","parameterTypes":["java.lang.String","java.lang.String"] }] + "methods":[ + {"name":"","parameterTypes":["java.lang.String","java.lang.String"] }, + {"name":"pin","parameterTypes":[] }, + {"name":"verificationCode","parameterTypes":[] } + ] }, { "name":"org.asamk.signal.json.JsonAttachment", @@ -1049,7 +1061,11 @@ "name":"org.asamk.signal.manager.storage.recipients.RecipientAddress", "allDeclaredFields":true, "queryAllDeclaredMethods":true, - "queryAllDeclaredConstructors":true + "queryAllDeclaredConstructors":true, + "methods":[ + {"name":"number","parameterTypes":[] }, + {"name":"uuid","parameterTypes":[] } + ] }, { "name":"org.asamk.signal.manager.storage.recipients.RecipientStore$Storage", diff --git a/graalvm-config-dir/serialization-config.json b/graalvm-config-dir/serialization-config.json index 0d4f101c..bf554e06 100644 --- a/graalvm-config-dir/serialization-config.json +++ b/graalvm-config-dir/serialization-config.json @@ -1,2 +1,6 @@ -[ -] +{ + "types":[ + ], + "lambdaCapturingTypes":[ + ] +}