Hi Martin,
I've got this working on GraalVM 20.1.0 which is the current release. I have worked through the tutorial and compiled terminal, screen and GUI programs to full native image.
I've commented on the GitHub issue so others know it is possible. I think it's clear on the issue that it is possible, but here are some details on what I've done so far.
I'm using OpenJDK 11 and Clojure 1.10.1, I did create one test (terminal) program in Java and that was also fine. I'm compiling and testing under Linux (Ubuntu 16.04 / 20.04) with Xterm.
There were two issues:
1. Swing/AWT dependency
GraalVM doesn't support either of these: there's a lot of differing reports but pretty much all failure for both. I think there might be better ways to do this, but I just stopped using `DefaultTerminalFactory` and directly call UnixTerminal
In Clojure this means that I import com.googlecode.lanterna.terminal.Terminal and com.googlecode.lanterna.terminal.ansi.UnixTerminal
2. Class Dependencies when compiling
It's sometimes a bit difficult to work out all the classes that GraalVM will need. It has a "tracing agent" that you can run and it will figure out the classes that are used at runtime, this can then be fed into the compile stage. This made things easier for me, though may not be strictly necessary.
I've got the basics going, WindowBasedTextGUI adding Buttons and Labels. So far no reason to believe that other Components won't be fine as well.
Thanks,
Steve