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 192498 - Renaming class to a same name with different case does not rename .java file
Summary: Renaming class to a same name with different case does not rename .java file
Status: RESOLVED DUPLICATE of bug 194940
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: PC Windows Vista
: P3 normal (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-26 03:32 UTC by burrum
Modified: 2011-02-05 07:15 UTC (History)
1 user (show)

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 burrum 2010-11-26 03:32:45 UTC
Reproduce:

1. Create a class, like MyDAO
2. Rename it to MyDao. Class gets renamed in source file and the file tree shows the change.
3. Check the file, it's still MyDAO.java
4. After some time file tree shows MyDAO.java name

SUB-BUG:
The IDE shows an error in that file source code - wrong class name (MyDao), but it shows no error for the MyDAO.java file.

Product Version = NetBeans IDE 6.9.1 (Build 201007282301)
Operating System = Windows Vista version 6.0 running on x86
Java; VM; Vendor = 1.6.0_22
Runtime = Java HotSpot(TM) Client VM 17.1-b03
Comment 1 Jan Becicka 2010-11-26 15:12:06 UTC
it works for me on linux. Windows specific, probably.
Comment 2 Jan Becicka 2010-12-08 15:32:52 UTC
should be fixed by recent fixes in filesystems.
Comment 3 Marian Mirilovic 2011-02-03 23:04:15 UTC
It looks like it's not fixed ... reporter could you confirm ?

*** This bug has been marked as a duplicate of bug 194988 ***
Comment 4 Marian Mirilovic 2011-02-05 07:15:24 UTC

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