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 - Class is no longer renamed when the file changes name
Summary: Class is no longer renamed when the file changes name
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Svata Dedic
URL:
Keywords:
: 22566 24303 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-04-23 07:19 UTC by Svata Dedic
Modified: 2007-09-26 09:14 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 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.