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 56152 - Code not reparsed for errors when file renamed
Summary: Code not reparsed for errors when file renamed
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
: 58350 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-03-10 12:28 UTC by Martin Matula
Modified: 2008-02-25 16:12 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 Martin Matula 2005-03-10 12:28:57 UTC
Wonil Kim wrote:

1. Add new class  name "Test"
2. Change class name and constructor to "Test_1" in editor
3. Editor shows "X" mark  on  class name => "class name & file name mismatch error"
4. Select "Test.java" from project window and do refactoring => rename it to
"Test_1"
5. Editor does not clear "X" mark from class Test_1 but, it can compiled with no
errors.
6. End of steps....
Comment 1 Martin Matula 2005-03-17 15:35:56 UTC
Fixed.

Checking in src/org/netbeans/modules/java/JavaDataObject.java;
/cvs/java/src/org/netbeans/modules/java/JavaDataObject.java,v  <-- 
JavaDataObject.java
new revision: 1.202; previous revision: 1.201
done
Checking in
javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/ResourceImpl.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/ResourceImpl.java,v
 <--  ResourceImpl.java
new revision: 1.75; previous revision: 1.74
done
Comment 2 Tomas Hurka 2005-04-13 14:19:54 UTC
Unfortunately this fix caused issue #57765, so the fix was rolled back. Reopening.

Checking in src/org/netbeans/modules/java/JavaDataObject.java;
/cvs/java/src/org/netbeans/modules/java/JavaDataObject.java,v  <--  JavaDataObject.java
new revision: 1.204; previous revision: 1.203
done
Checking in javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/ResourceImpl.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/ResourceImpl.java,v  <--  
ResourceImpl.java
new revision: 1.80; previous revision: 1.79
done
Comment 3 Jan Becicka 2005-05-04 08:23:59 UTC
*** Issue 58350 has been marked as a duplicate of this issue. ***
Comment 4 Quality Engineering 2007-09-20 10:45:41 UTC
Reorganization of java component
Comment 5 Jan Becicka 2008-02-25 16:12:08 UTC
This issue is not valid in current builds any more. Java support was completely
redesigned in 6.0 time frame. Please use NetBeans 6.0 and later.