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.
Product Version: NetBeans IDE Dev (Build 201604150001) Java: 1.8.0_77; Java HotSpot(TM) 64-Bit Server VM 25.77-b03 Steps to reproduce: Imagine we have one Tess Suite class annotated with @RunWith(Suite.class) Class also have 2 imports import org.junit.runner.RunWith; import org.junit.runners.Suite; Now create new empty java class and copy and paste annotation from first one to new one. The Import Classes dialog appeats but in contains only one unresolved import: orj.junit.runner.RunWith second import from original class is missed
the annotation value= was skipped, since the assignment was marked as synthetic. Must check that the assigned expression is real and traverse it in that case. Fixed in jet-main#009c4d18e0a0
Integrated into 'main-silver', will be available in build *201607190002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/009c4d18e0a0 User: Svata Dedic <sdedic@netbeans.org> Log: #258853: import classes from expression assinged to "value" annotation attribute