| Summary: | ICodeAssist.codeSelect(int, int) returns incorrect result for inner class varargs (was: "Open Declaration" doesn't work correctly for inner class varargs) | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Philippe Marschall <philippe.marschall> | ||||
| Component: | Core | Assignee: | Ayushman Jain <amj87.iitr> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | |||||
| Severity: | minor | ||||||
| Priority: | P3 | CC: | amj87.iitr, daniel_megert, deepakazad | ||||
| Version: | 3.8 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | stalebug | ||||||
| Attachments: |
|
||||||
|
Description
Philippe Marschall
Created attachment 208843 [details]
sample code to reproduce the issue
Essentially org.eclipse.jdt.core.ICodeAssist.codeSelect(int, int) calls in the following 2 methods return the incorrect result org.eclipse.jdt.internal.ui.actions.SelectionConverter.codeResolve(IJavaElement, ITextSelection) org.eclipse.jdt.internal.ui.javaeditor.JavaElementHyperlinkDetector.detectHyperlinks(ITextViewer, IRegion, boolean) Note that the type binding in the AST is correct. Moving to JDT/Core. I will take a look. See also bug 291040. This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |