jline/jline3

JLine 3.25.1 - JNI provider seems to be broken with SSH

puskarpeter opened this issue · 2 comments

Discovered this when trying to upgrade from 3.22.0 to 3.25.1 since we were using bundle and that effectively changed the provider that was used.

I made a minimal reproducer:
https://github.com/puskarpeter/jline-jni-reproducer/

image

For some reason, the prompt and everything is written to console and not in the connecting side.
Exec provider works as expected when JNI is not on the classpath and hence is picked.

One more thing to add is that I have the same bug on Ubuntu 22.04 and latest Fedora

I reproduced it on my Fedora VM.