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 144150 - Refactor->Rename package does not update module package exports
Summary: Refactor->Rename package does not update module package exports
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: PC Windows Vista
: P3 blocker (vote)
Assignee: Martin Kozeny
URL:
Keywords:
: 199716 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-08-16 03:11 UTC by davidparks
Modified: 2013-06-22 02:10 UTC (History)
2 users (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 davidparks 2008-08-16 03:11:42 UTC
This issue came from this bug:

http://www.netbeans.org/issues/show_bug.cgi?id=142733

The summary is that, if you have a Netbeans Module that exports a package, and then you do a refactor->rename on the
package name, the module's exported packages will not reflect the change.  An example:
* Start with a Netbeans module with a package com.some.pkg.  Set the package to be public (properties->API
Versioning->Public Packages).
* Refactor->Rename the package com.some.otherpkg
com.some.pkg will not appear in the public packages widget (it shouldnt be).  com.some.otherpkg will but it will not be
labeled public.  Expected behavior is that it would be.
* Refactor->Rename the package com.some.pkg (ie put it back the way it was)
The package now appears and is once again declared public.  It remembered the old name.
Comment 1 rmichalsky 2008-11-22 21:29:11 UTC

*** This issue has been marked as a duplicate of 72275 ***
Comment 2 Jesse Glick 2011-03-15 22:24:27 UTC
Not a dupe, that is something else.
Comment 3 Jesse Glick 2011-06-27 23:19:18 UTC
*** Bug 199716 has been marked as a duplicate of this bug. ***
Comment 4 Martin Kozeny 2013-06-19 09:02:33 UTC
https://hg.netbeans.org/core-main/rev/a8c23a859a37
Comment 5 Quality Engineering 2013-06-22 02:10:42 UTC
Integrated into 'main-golden', will be available in build *201306212301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/a8c23a859a37
User: Martin Kozeny <mkozeny@netbeans.org>
Log: #144150: Refactor->Rename package updates module package exports.