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 25563 - unrequested object renaming
Summary: unrequested object renaming
Status: CLOSED INVALID
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P1 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-11 21:26 UTC by andrew
Modified: 2007-09-26 09:14 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 andrew 2002-07-11 21:26:44 UTC
I have NB Form object in JavaCVS FS, 
java file is MainFrame.java

steps:

- open the file in the editor
- insert space in the class declaration
  before: "public MainFrame extends ..."
  after:  "public MainF rame extends ..."
- press Control-S

result:

The object is renamed to "MainF.java" in the Explorer
and on the local disk. Is it P1?

(current release34 branch, w2k, j2se 1.4.0_01)
Comment 1 Jan Becicka 2002-07-12 09:11:19 UTC
Andrew,
  this is desired behavior. See issue 7471. If you change class name
(e.g. from MainFrame to MainF), you must rename source file. Otherwise
the class will not be compilable.
Comment 2 Quality Engineering 2003-07-01 13:11:37 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.
Comment 3 Quality Engineering 2003-07-01 13:15:31 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.