#331 Unicode patch breaks readLine() of JConsole input

open
nobody
General (151)
5
2010-01-07
2010-01-07
Anonymous
No

Attempting something like this:
Reader consoleIn = console.getIn();
BufferedReader bufConsoleIn = new BufferedReader((InputStreamReader)consoleIn);
...
String line = bufConsoleIn.readLine();

Will block.

The "unicode patch" applied to acceptLine() in JConsole.java is incompatible with readLine(). This flaw makes JConsole much less useful for applications outside the built-in interpreter.

Discussion