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 236818

Summary: moving a static field strips annotations
Product: java Reporter: Milos Kleint <mkleint>
Component: RefactoringAssignee: Ralph Ruijs <ralphbenjamin>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.3   
Hardware: PC   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:

Description Milos Kleint 2013-10-07 06:52:12 UTC
recent dev build + jdk 1.7_25 on macosx

move refactoring triggered on the following field
private static final @StaticResource String MANAGED_BADGE_ICON = "org/netbeans/modules/maven/DependencyManaged.png"; //NOI18N

and moving it to different package strips the @StaticResource annotation. I consider that a bug.
Comment 1 Ralph Ruijs 2015-04-07 07:00:59 UTC
changeset:   143f44375f51
user:        Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
date:        Tue Apr 07 08:59:58 2015 +0200
summary:     #236818 - moving a static field strips annotations