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 175759 - Refactoring does not update class name in a sequence
Summary: Refactoring does not update class name in a sequence
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: J Bachorik
URL:
Keywords:
Depends on:
Blocks: 173077
  Show dependency tree
 
Reported: 2009-10-30 12:24 UTC by Alexandr Scherbatiy
Modified: 2009-11-16 06:35 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-10-30 12:24:40 UTC
Steps to reproduce:

- Create a JavaFX project
- Create Connection JavaFX class
----------------  Connection.fx -------------
public class Connection {
}
---------------------------------------------

- Create Graph JavaFX class
----------------  Graph.fx ------------------
public class Graph {
    public var connections : Connection[];
}
---------------------------------------------

- Create Main JavaFX file
----------------  Graph.fx ------------------
var graph = Graph {
            connections: [
                Connection {},
                Connection {},
                Connection {}
                ]
};
---------------------------------------------

- Go to the Connection class
- Refactor->Rename the Connection class to Connection1
- Build the code
 
Main.fx:12: incompatible types
found   : javafxapplication2.Connection
required: javafxapplication2.Connection1[]
                Connection {},
Main.fx:13: incompatible types
found   : javafxapplication2.Connection
required: javafxapplication2.Connection1[]
                Connection {},
Main.fx:14: incompatible types
found   : javafxapplication2.Connection
required: javafxapplication2.Connection1[]
                Connection {}
3 errors
Comment 1 J Bachorik 2009-11-09 03:41:00 UTC
fixed in http://hg.netbeans.org/javafx/rev/47df557ae43d
Comment 2 Alexandr Scherbatiy 2009-11-16 06:35:17 UTC
verified in Build 200911160201