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

Bug 300573

Summary: Move static method gives illegally unqualified static invocation (move to supertype)
Product: [Eclipse Project] JDT Reporter: Brian Miller <Brian.Miller>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: markus.kell.r
Version: 3.5   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Brian Miller CLA 2010-01-22 17:23:51 EST
Build Identifier: 20090920-1017

package bug;
class Base {
	static void bar(){}
}

package bug;
class Derived extends Base{
	static void foo(){bar();}
}

package bug;
class Bug {}

Reproducible: Always

Steps to Reproduce:
Please try to move method Derived.foo() to class Bug.  The target class no longer compiles.
Comment 1 Markus Keller CLA 2010-01-25 08:39:33 EST

*** This bug has been marked as a duplicate of bug 88439 ***