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 157596 - Java imports are marked as unused
Summary: Java imports are marked as unused
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: J Bachorik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-29 10:07 UTC by Alexandr Scherbatiy
Modified: 2009-04-15 11:50 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 Alexandr Scherbatiy 2009-01-29 10:07:27 UTC
JavaFX_NB_Plugin_Franca_NB_65_fixes_promoted_SDK_installer: JavaFX SDK Promoted Build b04

  Product Version         = NetBeans IDE 6.5 (Build 200901261801)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.6.0_12-ea; Java HotSpot(TM) Client VM 11.2-b01; Sun Microsystems Inc.

Steps to reproduce:

- Copy the code to the editor:
-------------------------------------------
import java.util.LinkedList;

var list = new LinkedList();
-------------------------------------------

'import java.util.LinkedList;' line is marked as unused.

- Fix imports 
 The code is uncompilable:

Main.fx:11: cannot find symbol
symbol  : class LinkedList
location: class javafxapplication2.Main
var list = new LinkedList();
1 error
Comment 1 Rastislav Komara 2009-01-30 11:52:58 UTC
Moving to future.
Comment 2 Rastislav Komara 2009-03-02 10:14:06 UTC
reassigning to new owner.
Comment 3 J Bachorik 2009-04-01 13:23:47 UTC
When fixing imports the types should be de-generified.

Fixed in: http://hg.netbeans.org/javafx/rev/f25e54b5dc65
Comment 4 Alexandr Scherbatiy 2009-04-15 11:50:27 UTC
verified