You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
picocli uses this logic to check if the program's output streams are connected to a terminal, which assumes System.console() returns null when the output streams are redirected or connected to a virtual terminal.
That logic is broken by an upcoming JDK change (JDK-8309155]:
System.console() now returns a Console object when the standard streams are redirected or connected to a virtual terminal. In prior releases, System.console() returned null for these cases. This change may impact code that uses the return from System.console() to test if the VM is connected to a terminal.
The text was updated successfully, but these errors were encountered:
cushon
added a commit
to cushon/picocli
that referenced
this issue
Aug 11, 2023
picocli uses this logic to check if the program's output streams are connected to a terminal, which assumes
System.console()
returnsnull
when the output streams are redirected or connected to a virtual terminal.https://github.com/remkop/picocli/blob/71553ae1e8728061f710bd49b6482efb79c77aee/src/main/java/picocli/CommandLine.java#L17843
That logic is broken by an upcoming JDK change (JDK-8309155]:
The text was updated successfully, but these errors were encountered: