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 - moving a static field strips annotations
Summary: moving a static field strips annotations
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.3
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-07 06:52 UTC by Milos Kleint
Modified: 2015-04-07 07:00 UTC (History)
0 users

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 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