Community
Participate
Working Groups
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 { int a; void foo() { System.out.println(); System.out.println(); } } - Select field 'a' OR method 'foo' - From the Menu bar 'Refactor' -> Rename => Dialog saying 'Operation unavailabe on the current selection. Select a field Java project, field, method.... etc' comes up. However dialog saying 'the CU is not on the build path' should come up.
Same behavior as comment 0 when file is in a simple project.
Same behavior in 3.5.2
Fixed in HEAD in RenameJavaElementAction and RenameAction.
Verified for 3.7 M2 with I20100913-1800.