Summary: | [AST]java.lang.ClassCastException: org.eclipse.jdt.core.dom.PrimitiveType | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Sergey Vladimirov <vlsergey> | ||||||||
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> | ||||||||
Status: | VERIFIED FIXED | QA Contact: | |||||||||
Severity: | major | ||||||||||
Priority: | P3 | CC: | asashour, philippe_mulet | ||||||||
Version: | 3.1 | ||||||||||
Target Milestone: | 3.1.1 | ||||||||||
Hardware: | PC | ||||||||||
OS: | Windows 2000 | ||||||||||
Whiteboard: | |||||||||||
Attachments: |
|
Description
Sergey Vladimirov
2005-07-20 10:07:31 EDT
Created attachment 25040 [details]
Sample code which brokes java code editor
Test case: - open file in Eclipse with PDE installed; - move mouse to any variable/type to try to hover it. - look for errors on PDE error log. Reproduced. I have a fix for it. Philippe, candidate for 3.1.1. Created attachment 25067 [details]
Proposed fix
Created attachment 25068 [details]
Regression test
Fixed and released in HEAD. Might be backported to 3.1.1. Backported to 31 maintenance stream. Regression test in ASTConverter15Test.test0193/0194 *** Bug 106907 has been marked as a duplicate of this bug. *** *** Bug 106908 has been marked as a duplicate of this bug. *** Verified in M20050923-1430 for 3.1.1. Opened bug 110657 for problem with the position of the single variable declaration within the enhanced for statement. |