On Thu, 12 Jan 2023 17:08:29 GMT, Naoto Sato <na...@openjdk.org> wrote:

> Fixing a regression caused by the fix to 
> [JDK-8298971](https://bugs.openjdk.org/browse/JDK-8298971). The previous fix 
> lacked the native part change on Windows.

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.

-------------

PR: https://git.openjdk.org/jdk/pull/11973

Reply via email to