| Summary: | EList.add used to throw IllegalArgumentException, now throws ArrayStoreException | ||
|---|---|---|---|
| Product: | [Modeling] EMF | Reporter: | Paul Elder <pelder.eclipse> |
| Component: | Core | Assignee: | Ed Merks <Ed.Merks> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 2.9.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Paul Elder
Sorry, but I don't intend to change this behavior; it's always been this way. The exception comes from the typed array and the performance of allowing the array to do the type checking outweighs any benefit from adding additional logic to throw a different exception. Thanks Ed. I've changed the platform UI unit test to accept ArrayStoreException as well as IllegalArgumentException. |