Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 332441

Summary: Code completion on unassigned anonymous interface implementation thinks methods are from Object
Product: [Eclipse Project] JDT Reporter: Remy Suen <remy.suen>
Component: CoreAssignee: Ayushman Jain <amj87.iitr>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: Olivier_Thomann, pwebster
Version: 3.7   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug
Attachments:
Description Flags
Screenshot depicting the problem in question. none

Description Remy Suen CLA 2010-12-13 09:15:34 EST
Created attachment 185055 [details]
Screenshot depicting the problem in question.

I20101206-1800

If you try to invoke code completion on the following, the completion engine seems to think that the 'run()' method comes from Object.

new Runnable() {
  public void run() {
  }
}.run();
Comment 1 Eclipse Genie CLA 2019-11-27 18:29:43 EST
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.