Project: JDT
Bug 314077 [move member type] Incorrect message while 'Move Type to New File' when CU not on Build path
Reported: 2010-05-24 05:16:45 | Status: verified fixed

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(); } } class A{ } - Select class 'A' - From the Menu bar 'Refactor' -> Move Type to New File => Dialog saying ' To activate this refactoring, please select the name of a member type or a secondary type' comes up. However dialog saying 'the CU is not on the build path' should come up.

Files changed in fix:
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ConvertNestedToTopAction.java