Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 314073 - [introduce indirection] Nothing happens while 'Introduce Indirection' when CU not on Build path
Summary: [introduce indirection] Nothing happens while 'Introduce Indirection' when CU...
Status: CLOSED DUPLICATE of bug 139197
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 314227
  Show dependency tree
 
Reported: 2010-05-24 04:53 EDT by Deepak Azad CLA
Modified: 2010-07-31 09:06 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 Deepak Azad CLA 2010-05-24 04:53:35 EDT
Build I20100520-1744

- New workspace
- Open a Java file placed anywhere on the file system (but is not on build path)
Use following snippet

package q;
public class B {
	void foo() {
		System.out.println();
		System.out.println();
	}
}
- Select 'foo'
- From the Menu bar 'Refactor' -> Introduce Indirection => Nothing happens

A dialog that the CU is not on the build path should come up.
Comment 1 Deepak Azad CLA 2010-05-24 05:37:18 EDT
This works when the java file is stored in a simple project - dialog that 'the CU is not on the build path' shows up.
Comment 2 Deepak Azad CLA 2010-05-25 04:52:08 EDT
Same problem in 3.5.2
Comment 3 Deepak Azad CLA 2010-07-31 09:06:38 EDT

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