native-image: jline substitution fails, because I don't use jline
Christian Wimmer
christian.wimmer at oracle.com
Wed Sep 19 18:30:12 UTC 2018
The jline substitutions are only enabled when jline is on the classpath.
This is done by checking if the class "jline.console.ConsoleReader" is
found - we assume that if ConsoleReader is found, everything of jline is
there. So some parts of jline (and maybe a older/newer version than what
we support) must be on your classpath.
-Christian
On 09/19/2018 11:10 AM, Stefan Marr wrote:
> Hi:
>
> After some fiddling, I managed to move my 1year old SOMns-substrate experiment to current substrate, and it works quite nicely, even with all the actor/concurrency features :)
>
> Though, at the moment, I have to work around the following issue:
>
> error: could not find target method: public static jline.Terminal com.oracle.svm.jline.subst.Target_jline_TerminalFactory.create(java.lang.String)
>
> On my local machine, I simply deleted the substitution.
>
> Is there a better way to avoid the substitution failing?
> It simply does not apply in my case. There aren’t any jline classes on my classpath.
>
> Thanks
> Stefan
>
>
More information about the graal-dev
mailing list