From 824c018b92fea1aab4f0d1d63304c4bd1159cac4 Mon Sep 17 00:00:00 2001 From: Gregor Lohaus Date: Wed, 27 May 2026 16:08:38 +0200 Subject: [PATCH] fix reflection config for graal --- .gitignore | 1 + result | 1 - .../com.gregor/jprototerm/reflect-config.json | 32 +++++++++++++++++++ 3 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 .gitignore delete mode 120000 result create mode 100644 src/main/resources/META-INF/native-image/com.gregor/jprototerm/reflect-config.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b2be92b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +result diff --git a/result b/result deleted file mode 120000 index de1a0bd..0000000 --- a/result +++ /dev/null @@ -1 +0,0 @@ -/nix/store/iggj5apzlpwzcipfpbjysih1xk3b97ky-jprototerm-0.1.0 \ No newline at end of file diff --git a/src/main/resources/META-INF/native-image/com.gregor/jprototerm/reflect-config.json b/src/main/resources/META-INF/native-image/com.gregor/jprototerm/reflect-config.json new file mode 100644 index 0000000..a20e439 --- /dev/null +++ b/src/main/resources/META-INF/native-image/com.gregor/jprototerm/reflect-config.json @@ -0,0 +1,32 @@ +[ + { + "name": "com.gregor.jprototerm.Main", + "allDeclaredConstructors": true, + "allPublicConstructors": true + }, + { + "name": "com.sun.javafx.tk.quantum.QuantumToolkit", + "allDeclaredConstructors": true, + "allPublicConstructors": true + }, + { + "name": "com.sun.glass.ui.gtk.GtkPlatformFactory", + "allDeclaredConstructors": true, + "allPublicConstructors": true + }, + { + "name": "com.sun.glass.ui.gtk.GtkApplication", + "allDeclaredConstructors": true, + "allPublicConstructors": true + }, + { + "name": "com.sun.prism.es2.ES2Pipeline", + "allDeclaredConstructors": true, + "allPublicConstructors": true + }, + { + "name": "com.sun.prism.sw.SWPipeline", + "allDeclaredConstructors": true, + "allPublicConstructors": true + } +]