This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 252779 - Refactoring Renaming File Race Condition
Summary: Refactoring Renaming File Race Condition
Status: RESOLVED DUPLICATE of bug 255649
Alias: None
Product: php
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 8.0.2
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-03 14:54 UTC by sdphm80
Modified: 2016-06-07 14:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sdphm80 2015-06-03 14:54:18 UTC

    
Comment 1 sdphm80 2015-06-03 14:59:24 UTC
This problem occurs when refactoring a class name and renaming the file. Sometimes the file name will change but the refactoring of the class name else where fails. I have found that if I uncheck the rename file option, refactoring works every time but I am forced to rename the file myself.

What appears to be happening is a race condition where the file is renamed before the refactoring of the class. When this happens the class name is not changed anywhere else. This problem happens to me about 80% of the time.
Comment 2 Tomas Mysik 2016-06-07 14:49:32 UTC
Seems to me to be a duplicate of issue #255649.

Thanks.

*** This bug has been marked as a duplicate of bug 255649 ***