Summary: | ClassCastException on rename temp | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Adam Kiezun <akiezun> |
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P2 | ||
Version: | 2.0 | ||
Target Milestone: | 2.0 F2 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Adam Kiezun
2002-05-27 09:58:21 EDT
before i forget: it happened in the editor pref page (create...Page methods) ok, found it: public class A { Bar.B[] field= new Bar.B[]{ new Bar.B() }; void f(){ int temp; } } class Bar{ static class B{} } selecting the temp, invoking 'rename element' and pressing next results in the same CCE seems like jcore binding problem The problem came from the QualifiedTypeReference. I need to take the binding.leafComponentType() instead of the binding only. Regression tests added. Fixed and released. Verified in F2. Verified. |