Bug 183698 - Refactor->rename doesn't work
Summary: Refactor->rename doesn't work
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
: 218338 219924 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-03-02 21:25 UTC by Igor Foox
Modified: 2007-11-30 22:11 UTC (History)
2 users (show)

Fixed In Version: 4.1.1-33
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-12-08 09:03:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNU Compiler Collection 29703 0 P3 RESOLVED Failure with java.util.regex.Matcher reset() 2020-09-10 06:58:14 UTC

Description Igor Foox 2006-03-02 21:25:20 UTC
Description of problem:
The renaming doesn't seem to do anything. When I try to refactor a function, I
get the renaming dialog, then when I click 'Preview' it says that the
refactoring doesn't seem to affect any code, and doesn't rename the function.

Version-Release number of selected component (if applicable):
eclipse-cdt-3.0.2

How reproducible:
Always.

Steps to Reproduce:
1. Create a new managed make project (C)
2. Create a .c file with a main function and another function, have main call
the other function.
3. Select the other function, choose Refactor->Rename in the menu, enter a new
name, click Perview.

  
Actual results:
Get a message saying 'The refactoring doesn't change any source code.'.

Expected results:
Refactor the damned mehotd.

Comment 1 Ben Konrath 2006-03-30 21:53:09 UTC
Igor, Does it work with a proprietary vm?

Comment 2 Jeff Johnston 2006-11-01 20:27:57 UTC
I have confirmed it works with our local JDK 1.5 copy.

Comment 3 Jeff Johnston 2006-11-06 19:46:55 UTC
I have narrowed down the problem to a bug in classpath
java.util.regex.Matcher.reset()  Bug 29703 has been opened against classpath.

Comment 4 Jeff Johnston 2006-11-07 17:03:47 UTC
The fix for 29703 needs to be brought into FC gcc.

Comment 5 Jeff Johnston 2006-12-04 21:39:35 UTC
*** Bug 218338 has been marked as a duplicate of this bug. ***

Comment 6 Jakub Jelinek 2006-12-08 09:03:42 UTC
Fixed in 4.1.1-33 and above, sorry, forgot to close this.

Comment 7 Iftikhar 2006-12-11 07:35:43 UTC
Fixed in 4.1.1-33 of gcc? If so can you tell me the place from where i can get 
RPM installer of this gcc version?

Comment 8 Jeff Johnston 2006-12-18 18:12:13 UTC
*** Bug 219924 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.