Menu

#331 Unicode patch breaks readLine() of JConsole input

None
closed
nobody
General (151)
5
2018-08-02
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

  • nickl-

    nickl- - 2018-08-02
    • status: open --> closed
    • Group: -->
     
  • nickl-

    nickl- - 2018-08-02

    Ticket has been migrated to github.
    Please follow up on this over here: https://github.com/beanshell/beanshell/issues/469

     

Log in to post a comment.