| Summary: | [Decorators] ArrayOutOfBoundsException in DecorationBuilder.java | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Sascha Zelzer <sascha.zelzer> | ||||
| Component: | UI | Assignee: | Tod Creasey <Tod_Creasey> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | Keywords: | helpwanted | ||||
| Version: | 3.2 | ||||||
| Target Milestone: | 3.3 M2 | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Created attachment 47534 [details]
Patch with test suites
Thanks Sascha - I have applied your suggested change and attributed them to you in the class comment. Fixed in build >20060814 Verified in 20060919-0100 |
I unintentionally generated the above exception when playing with decorators. It was thrown in line 89 and the corresponding code block is: if (quadrant >= 0 && quadrant <= DECORATOR_ARRAY_SIZE) { if (descriptors[quadrant] == null) { descriptors[quadrant] = overlay; } valueSet = true; } else ... I guess it should be "quadrant < DECORATOR_ARRAY_SIZE". I am using integration build I20060725-0800. Regards, Sascha