
|
If you were logged in you would be able to see more operations.
|
|
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
|
Issue Links:
|
Duplicate
|
|
|
|
This issue is duplicated by:
|
|
IDEADEV-28578
Refactor > Rename breaks Java code
|
|
|
|
|
|
| Build: |
8,425
|
| Fixed in build: |
7,933
|
the problem seems to occur in the new projects only, and if there is some different project opened in another frame.
To recreate try the following scenario, for example:
- open some project;
- create new project (default settings), open it in the new frame;
- in new project create 2 classes:
mytest.Account and mytest.Person;
- in Person class create the setter method:
public void setAccount(Account account){}
- refactor/rename Account class to Account_renamed:
the setter parameter is changed, but the type is not updated.
The problem can be recreated for different types of usages certainly. If it doesn't occur on the first refactoring, undo the change and rename the class again.
After Idea restart - n/r. I also cannot recreate the bug with the single project opened.
However, when 2 projects are opened, it is possible to recreate the bug in the new-created package:
-start idea with some project opened;
- open another project in the new frame;
- create new package in this project;
- create 2 classes in this package;
- etc.
|
|
Description
|
the problem seems to occur in the new projects only, and if there is some different project opened in another frame.
To recreate try the following scenario, for example:
- open some project;
- create new project (default settings), open it in the new frame;
- in new project create 2 classes:
mytest.Account and mytest.Person;
- in Person class create the setter method:
public void setAccount(Account account){}
- refactor/rename Account class to Account_renamed:
the setter parameter is changed, but the type is not updated.
The problem can be recreated for different types of usages certainly. If it doesn't occur on the first refactoring, undo the change and rename the class again.
After Idea restart - n/r. I also cannot recreate the bug with the single project opened.
However, when 2 projects are opened, it is possible to recreate the bug in the new-created package:
-start idea with some project opened;
- open another project in the new frame;
- create new package in this project;
- create 2 classes in this package;
- etc.
|
Show » |
|