Issue Type: Bug Bug
Affects Versions: JRuby 1.7.3, JRuby 1.7.2, JRuby 1.7.1
Assignee: Unassigned
Components: Miscellaneous
Created: 31/Mar/13 5:14 PM
Description:

When using components that depend on jline, an extra newline is added to the output making it more complex to process (or simply incorrect). I have been narrowing down this and it seems it is tied to the jline version included in JRuby.
Just the code below generates a \n

java_import 'jline.console.ConsoleReader'
java_console = ConsoleReader.new()

I have tested it with java and the same happens. An extra newline appears executing the class below.


import jline.console.ConsoleReader;

public class MyTest {
	public static void main(String[] args) throws Exception{
		ConsoleReader r = new ConsoleReader();
		System.out.println("HI");
	}
}

On the other hand, when using jline-1.0, this does not happen.

Please, note that the ConsoleReader class seems to have moved to the jline package.

Thanks!

Environment: MacOS Lion, Windows 7
Project: JRuby
Labels: jline console
Priority: Major Major
Reporter: Cristobal Garcia
Original Estimate: 8 hours
Remaining Estimate: 8 hours
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to