Community
Participate
Working Groups
The CorrectionEngine is also using a scanner without using the proper options. So it is possible that the corrections are not right when surrogate characters are used.
Created attachment 164162 [details] Proposed fix + regression test
Released for 3.6M7. Added regression test in: org.eclipse.jdt.core.tests.model.CodeCorrectionTests#testCorrectLocalVariable2
Verified for 3.6M7 using build I20100424-2000. An observation, though: Though the marker view shows the problem, the content assist doesn't offer any completions. I suppose it should be a different bug?