Summary: | codeSelect(..) doesn't work for local variable with surrogate in name | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Markus Keller <markus.kell.r> | ||||||
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> | ||||||
Status: | VERIFIED FIXED | QA Contact: | |||||||
Severity: | normal | ||||||||
Priority: | P3 | CC: | jarthana, Olivier_Thomann | ||||||
Version: | 3.6 | ||||||||
Target Milestone: | 3.6 M7 | ||||||||
Hardware: | PC | ||||||||
OS: | Windows XP | ||||||||
Whiteboard: | |||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 308147 | ||||||||
Attachments: |
|
Description
Markus Keller
2010-04-07 12:06:18 EDT
Created attachment 164089 [details]
Proposed fix
The selection scanner was not initialized using the project settings. The project needs to be at least in compliance 1.5 to be able to properly read surrogate characters.
With this fix, Java Element view works fine, but the hover is still broken. Created attachment 164100 [details]
Same patch with a regression test
Released for 3.6M7. Added regression test: org.eclipse.jdt.core.tests.model.ResolveTests_1_5#test0124 Verified for 3.6M7 using build I20100424-2000. |