On Fri, 13 Jan 2023 14:12:36 GMT, Alan Bateman <al...@openjdk.org> wrote:
> I think we should try to have a cleaner separation between these native > methods. If JdkConsoleImpl_echo is changed to call > GetStdHandle(STD_INPUT_HANDLE) then it would avoid needing Console_md to > export java_io_Console_hStdIn. It would mean the static fields in Console_md > could be removed too. Thanks, Alan. Modified the code not to share the handles. ------------- PR: https://git.openjdk.org/jdk/pull/11973