Community
Participate
Working Groups
Build ID: M20071023-1652 Steps To Reproduce: I get a problem in org.eclipse.ui.internal.console.ConsoleDocumentAdapter.java at line 323 When string is just a carriage return "\r" offset will be lowered to -1 which will cause a StringIndexOutOfBoundsException on the next iteration. int offset = string.length() - 1; while (string.charAt(offset) == '\r') { offset--; count++; } More information: This is probably related to bug 84641 I get the same error when I run the code example there: public class CarriageReturn { public static void main(String[] args) { System.out.print("\r"); } }
Fixed in 3.3.2 *** This bug has been marked as a duplicate of bug 207743 ***