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 160724 - Fix imports adds an import on the same line with package declaration
Summary: Fix imports adds an import on the same line with package declaration
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Anton Chechel
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2009-03-20 12:06 UTC by Alexandr Scherbatiy
Modified: 2009-04-17 10:46 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-03-20 12:06:08 UTC
JavaFX_NB_651_Installers: #57 JavaFX SDK 1.1.1 promoted build b01 - SDK respin

  Product Version         = NetBeans IDE 6.5.1 (Build 200903060201)
  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:
------------------------------------------------
package javafxapplication1;

Circle{ 
    radius: 10
}
------------------------------------------------

- Fix imports 
The result is:
------------------------------------------------
package javafxapplication1;import javafx.scene.shape.Circle;

Circle{ 
    radius: 10
}
------------------------------------------------
Comment 1 Adam Sotona 2009-03-23 13:18:49 UTC
This is not P2 as the resulting code is correct and compilable.
Comment 2 Anton Chechel 2009-03-23 17:42:52 UTC
fixed
Comment 3 Alexandr Scherbatiy 2009-04-17 10:46:35 UTC
verified in marina-netbeans-plugin: #84