Community
Participate
Working Groups
Build Identifier: I20110613-1736 We have a local class with a type parameter and a constructor, and we have a constructor invocation of this constructor. When we select the constructor invocation in the editor and choose "Open declaration" we would expect to jump to the constructor declaration in the source code. But we only get an error message in the status line: "Current text selection cannot be opened in an editor". Additionally the bindings for the constructor and for the invocation are not the same. Reproducible: Always Steps to Reproduce: 1. Create local class with type parameters and a constructor, create constructor invocation (see attached example) 2. Select the invocation 3. Choose "Open Declaration" 4. See error in status line
Created attachment 202517 [details] example class
I will look into this.
Updated the bug summary.
Created attachment 202746 [details] Patch
method declaration's original is not being used to get the source class. Fixed that in the patch attached in comment 4. Released that patch in HEAD.
*** Bug 352085 has been marked as a duplicate of this bug. ***
Verified for 3.8M2 using build id: I20110912-0800.