Summary: | StringIndexOutOfBoundsException pressing F1 | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Randy Giffen <Randy_Giffen> |
Component: | User Assistance | Assignee: | Dorian Birsan <birsan> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P1 | ||
Version: | 2.0 | ||
Target Milestone: | 2.0 F4 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Randy Giffen
2002-06-13 12:18:15 EDT
This should be an F3 candidate. The fix is to break the for loop when starting point goes past the lenght of the string. After each change to "start" do if (start >= textChars.length) break; The test can be put in the for condition, but this way it will be faster, we only check it when starting a new line. F4 candidate. Value: medium/high Risk: low (problem understood, fix available) Fixed in F4. |