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 251831 - Refactor copy action does not update package info
Summary: Refactor copy action does not update package info
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 8.0.2
Hardware: Other Windows XP
: P3 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on: 115940
Blocks:
  Show dependency tree
 
Reported: 2015-04-14 21:08 UTC by Leperous
Modified: 2015-04-21 02:31 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 Leperous 2015-04-14 21:08:27 UTC
+++ This bug was initially created as a clone of Bug #115940 +++

Moving a package-info will update the package declaration, but a copy does not. 

To reproduce, simply create a package-info in a package, and refactor > copy into another package. The package declaration is unchanged and hence generates a compiler error.
Comment 1 Ralph Ruijs 2015-04-20 07:41:29 UTC
changeset:   9cca64f38a95
user:        Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
date:        Mon Apr 20 09:40:28 2015 +0200
summary:     #251831 - Refactor copy action does not update package info
Comment 2 Quality Engineering 2015-04-21 02:31:25 UTC
Integrated into 'main-silver', will be available in build *201504210001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/9cca64f38a95
User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
Log: #251831 - Refactor copy action does not update package info