| Summary: | AIOB exception with fixed width console | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Darin Wright <darin.eclipse> |
| Component: | Debug | Assignee: | Darin Wright <darin.eclipse> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | cocoakevin, dejan |
| Version: | 3.1 | ||
| Target Milestone: | 3.1 M4 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Darin Wright
Program: use pgm agrs of 2500 or 25000
public class ConsoleVariableLineLength {
public static void main(String[] args) {
int repeat = Integer.parseInt(args[0]);
System.out.println("---- START ----");
for (int i = 0; i < repeat; i++) {
System.out.println("---------1---------2---------3---------4---
------5---------6");
System.out.println("---------1---------2---------3---------4---
------5---------6---------7---------8");
System.out.println("---------1---------2---------3---------4---
------5---------6---------7---------8-");
System.out.println("---------1---------2---------3---------4---
------5---------6---------7---------8---------9");
}
System.out.println("---- END ----");
}
}
Fixed in ConsoleDocumentAdapter. There was a couple problems... The regular expression used to separate lines was wrong, repairLines(..) was creating some bogus regions, countLines(...) didn't work properly only partly because of the regex problem please verify *** Bug 80532 has been marked as a duplicate of this bug. *** Verified. |