Bug 208859

Summary: [move static members] cannot move to dependent project
Product: [Eclipse Project] JDT Reporter: Markus Keller <markus.kell.r>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3    
Version: 3.4   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Markus Keller CLA 2007-11-06 04:13:37 EST
I20071101-2000

I tried to move a static method from jdt.ui to a test class in jdt.ui.tests.refactoring. This didn't work because the target class could not be resolved.

We should allow moving static members to dependent projects. Give a warning in the initial dialog in this case (members will not be accessible from the declaring project any more) and a non-fatal error if there are references that won't compile after refactoring.