Description of problem: The most useful feature in Eclipse -- refactoring doesn't work in Eclipse CDT if running Eclipse on gcj (native)! Refactoring does work, if running eclipse on sun's Java VM. Version-Release number of selected component (if applicable): Eclipse platform 3.2.0 - CDT Refactoring 3.1.1.200609291545 How reproducible: always Steps to Reproduce: 1. Select a variable 2. Choose Refactor -> Rename from the context menu 3. Eneter a new name for the selected variable 4. Press Preview/OK Actual results: Messge box 'Refactoring doesn't change any code' appears Expected results: Changes in the current edit buffer in the variable's scope/Preview of the code being refactored. Additional info:
This problem is a duplicate of 183698. There is a bug in classpath whereby the Matcher.reset() operation does not work properly. Internal code in the CDT uses this during refactoring "and" also for searches. The result of the bug is that the list of applicable files to look at for renaming or searching ends up being the empty list. A patch has been posted to gcc for the Classpath bug. A forth-coming gcc update will contain this fix. *** This bug has been marked as a duplicate of 183698 ***