hg: kulla/dev/langtools: When detecting Ctrl-C, instead of wrapping the System.in, wrap the InputStream used by the terminal - it may differ from System.in

jan.lahoda at oracle.com jan.lahoda at oracle.com
Mon Jun 8 14:23:01 UTC 2015


Changeset: 8a44b8c07ec3
Author:    jlahoda
Date:      2015-06-08 16:12 +0200
URL:       http://hg.openjdk.java.net/kulla/dev/langtools/rev/8a44b8c07ec3

When detecting Ctrl-C, instead of wrapping the System.in, wrap the InputStream used by the terminal - it may differ from System.in

! src/jdk.jshell/share/classes/jdk/internal/jshell/tool/ConsoleIOContext.java



More information about the kulla-dev mailing list