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

Summary: Refactor copy action does not update package info
Product: java Reporter: Leperous
Component: RefactoringAssignee: Ralph Ruijs <ralphbenjamin>
Status: RESOLVED FIXED    
Severity: normal CC: davidfeitosa
Priority: P3    
Version: 8.0.2   
Hardware: Other   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 115940    
Bug Blocks:    

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