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 22684

Summary: Class is no longer renamed when the file changes name
Product: java Reporter: Svata Dedic <sdedic>
Component: UnsupportedAssignee: Svata Dedic <sdedic>
Status: CLOSED FIXED    
Severity: blocker CC: asherman
Priority: P2    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Svata Dedic 2002-04-23 07:19:24 UTC
As A.Sherman observed in issue #22645, public
top-level class is no longer renamed when the file
name is changed. It's most probably caused by
recent policy in firing PROP_PRIMARY_FILE event
and Java module using that event inappropriately.
Comment 1 Jan Becicka 2002-04-25 13:28:33 UTC
*** Issue 22566 has been marked as a duplicate of this issue. ***
Comment 2 Jan Becicka 2002-04-25 13:33:57 UTC
It is P2 IMO.
Comment 3 Svata Dedic 2002-05-07 10:20:02 UTC
Now lurking for both PROP_PRIMARY_FILE (data object move to another
folder) and PROP_NAME (dataobject rename).

Fixed in trunk:
/cvs/java/src/org/netbeans/modules/java/JavaDataObject.java,v  <-- 
JavaDataObject.java
new revision: 1.153; previous revision: 1.152

Fixed in Q-Build (QBE200205030100)
/cvs/java/src/org/netbeans/modules/java/JavaDataObject.java,v  <-- 
JavaDataObject.java
new revision: 1.152.12.1; previous revision: 1.152
Comment 4 Tomas Hurka 2002-06-04 14:40:44 UTC
*** Issue 24303 has been marked as a duplicate of this issue. ***
Comment 5 Jan Becicka 2002-06-12 09:22:15 UTC
VERIFIED
Comment 6 Quality Engineering 2003-07-01 13:17:46 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.