Attempting something like this:
Reader consoleIn = console.getIn();
BufferedReader bufConsoleIn = new BufferedReader((InputStreamReader)consoleIn);
String line = bufConsoleIn.readLine();
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.
Log in to post a comment.