As of JDK25, the default implementation of `System.console()` returns a `Console` instance only when the underlying platform provides interactive terminals for both input and output. However, there are cases where either of them is connected to pipe or file, i.e non-interactive. Returning a `Console` instance would be beneficial even for those cases.