On Thu, 1 Jun 2023 18:53:21 GMT, Naoto Sato <na...@openjdk.org> wrote:
> This is to bring the JLine-based Console implementation as the default, which > was the initial intention in > [JDK-8295803](https://bugs.openjdk.org/browse/JDK-8295803). A corresponding > CSR has also been drafted. Thanks, Alan. > This looks quite good. I think Console::isTerminal works as a method name but > we might have to iterate a bit on the javadoc to more clearly define it. > Do you think adding an `implNote` that describes the platform behavior, e.g., on Unix it is equivalent to calling `isatty(stdin/out)` and stdin/out file descriptor are valid character devices on Windows, would help? ------------- PR Comment: https://git.openjdk.org/jdk/pull/14271#issuecomment-1638574326