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 93280 - Rename package corrupts the renamed code
Summary: Rename package corrupts the renamed code
Status: VERIFIED DUPLICATE of bug 91706
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All Linux
: P1 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-26 10:34 UTC by ehucka
Modified: 2007-02-02 11:41 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
fragment of ide's log (25.91 KB, text/plain)
2007-01-26 10:36 UTC, ehucka
Details
the dump file mentioned in log (8.23 KB, text/plain)
2007-01-26 10:36 UTC, ehucka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ehucka 2007-01-26 10:34:57 UTC
NetBeans IDE Dev (Build 200701251900)
1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105
Linux version 2.6.16-1.2122_FC5 running on i386

I tried to rename a package of j2se project. Using Files view I selected the
package's folder and invoke Refactor | Rename.

Result: many exceptions was thrown, old folders stay undeleted, java sources
were moved to a new folder but any package name was not changed in code.

Workaround: to use find/replace instead of refactoring
Comment 1 ehucka 2007-01-26 10:36:02 UTC
Created attachment 37707 [details]
fragment of ide's log
Comment 2 ehucka 2007-01-26 10:36:48 UTC
Created attachment 37708 [details]
the dump file mentioned in log
Comment 3 Jan Lahoda 2007-01-26 13:31:12 UTC
Lets handle the SIOOBE separately (issue #92610), Pavel will you take a look on
it? Thanks. The NPE is dupe of issue #91706.

*** This issue has been marked as a duplicate of 91706 ***
Comment 4 ehucka 2007-02-02 11:41:46 UTC
verified