Bug 208859 - [move static members] cannot move to dependent project
Summary: [move static members] cannot move to dependent project
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-06 04:13 EST by Markus Keller CLA
Modified: 2007-11-06 04:13 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.