-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JVM crash on RedHat Linux when loading jansi.AnsiConsole #17
Comments
Version information: jansi: 1.14 (included in Gradle 4.5.1) |
I had probably the same problem. My issue was due to setup of class attribute HAVE_TTYNAME in the class initializer. (see 5f76e86). I compiled the .so library with the config option |
It also appears to happen when you run it without a terminal. if (System.console() != null)
{
AnsiConsole.systemInstall();
} |
Crash seems to be caused by Jansi trying to load a native library when picocli loads
AnsiConsole
withClass.forName("org.fusesource.jansi.AnsiConsole")
. Is this expected?(related: remkop/picocli#630)
System properties:
java version
The text was updated successfully, but these errors were encountered: