| Summary: | AIOOBE in OTJavaElement.getChildren() | ||
|---|---|---|---|
| Product: | [Tools] Objectteams | Reporter: | Stephan Herrmann <stephan.herrmann> |
| Component: | OTDT | Assignee: | Stephan Herrmann <stephan.herrmann> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 2.1 | ||
| Target Milestone: | 2.1 M5 | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Stephan Herrmann
Against a corrupt ArrayList I can do nothing (would that be a bug in the JRE??). I'm not fully convinced that concurrency was the root cause because the issue was reproduceable while the workbench was running, but disappeared when I restarted the workbench. Anyway, I'm adding synchronization on this.children to prevent the concurrency issue in this location. Released via commit 488052484e419c2f0486117ba4a6ccbbc31832bd A google search confirms that other projects had concurrency issues with ArrayList.toArray, too, e.g., bug 81675. Never seen again. Consider fixed. |