Bug 51500 - [DOM AST] Quick fix "Add unimplemented methods" fails on static variable initialized using anonymous constructor
Summary: [DOM AST] Quick fix "Add unimplemented methods" fails on static variable init...
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0 M9   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-10 13:13 EST by Felix Pahl CLA
Modified: 2004-05-18 11:45 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Pahl CLA 2004-02-10 13:13:49 EST
In the following example, the quick fix "Add unimplemented methods" does 
nothing.

public abstract class Bug
{
  abstract void bug ();

  static Bug bug = new Bug () {
  };
}
Comment 1 Martin Aeschlimann CLA 2004-03-21 12:29:01 EST
The IMethodBinding of bug() has the 'abstract' modifier not set.
Moving to jdt.core
Comment 2 Olivier Thomann CLA 2004-04-26 14:56:29 EDT
Fixed and released in HEAD.
Regression test added.
Comment 3 David Audel CLA 2004-05-18 11:45:19 EDT
Verified for 3.0M9