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 180481 - Class moving adds 'import .*;' line
Summary: Class moving adds 'import .*;' line
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: J Bachorik
Depends on: 180606
Blocks: 173077
  Show dependency tree
Reported: 2010-02-09 04:33 UTC by Alexandr Scherbatiy
Modified: 2010-03-09 06:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2010-02-09 04:33:57 UTC
Steps to reproduce:

- Open the attached project

- Move the class mathematics.multidimensional.AMDVector to a
 mathematics.multidimensional.vector package
- Move the class  mathematics.multidimensional.MDVector to the 
  mathematics.multidimensional.vector package

- Build the project

MultiDim\src\mathematics\multidimensional\vector\MDVector.fx:3: Sorry, I was trying to understand an identifier but I got confused when I saw '.'.
import .*;
1 error

The source code for the MDVector class starts with:
package mathematics.multidimensional.vector;
import mathematics.multidimensional.*;
import .*;
Comment 1 Alexandr Scherbatiy 2010-02-09 04:35:03 UTC
  Product Version         = NetBeans IDE Dev (Build 201002090200) (#4f2b9ef14d9a)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.6.0_15; Java HotSpot(TM) Client VM 14.1-b02; Sun Microsystems Inc.

NetBeans-JavaFX-Soma: #147
Comment 2 J Bachorik 2010-02-09 07:39:24 UTC
seems to have been fixed by
Comment 3 Alexandr Scherbatiy 2010-03-09 06:13:59 UTC
Verified in NetBeans-JavaFX-Soma:  #179 

The problem with 'import .*;' line is fixed.
However the proper import is not added in some cases.
See the issue 181679