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 180833 - Refactor->Copy breaks code
Summary: Refactor->Copy breaks code
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: J Bachorik
URL:
Keywords:
Depends on:
Blocks: 173077
  Show dependency tree
 
Reported: 2010-02-17 05:55 UTC by Alexandr Scherbatiy
Modified: 2010-03-09 09:09 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 2010-02-17 05:55:48 UTC
NetBeans-JavaFX-Soma: #156

  Product Version         = NetBeans IDE Dev (Build 201002160200)
(#6c8c2438b925)
  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.


Steps to reproduce:
- Open the attached project
http://netbeans.org/bugzilla/attachment.cgi?id=94222

- Copy the javafxset.custom.CustomList class to the same directory
- Set teh new CustomTextList name
- There are warnings on the Copy Class dialog
- Press Refactor button
- Clean and build the project


JavaFXSet\src\javafxset\custom\CustomTextList.fx:14: You have forgotten the ';', which is needed to separate one expression from the next.
pCustomTextLists CustomList extends CustomNode {
JavaFXSet\src\javafxset\custom\CustomTextList.fx:14: Sorry, I was trying to understand a qualified identifier but I got confused when I saw 'extends' which is a keyword.
pCustomTextLists CustomList extends CustomNode {
JavaFXSet\src\javafxset\custom\CustomTextList.fx:14: You have forgotten the ';', which is needed to separate one expression from the next.
pCustomTextLists CustomList extends CustomNode {
3 errors


The CustomTextList  source code starts with:
----------------------------------------------
import javafx.scene.*;
import javafx.scene.paint.*;

/**
 * @author andromeda
 */
pCustomTextLists CustomList extends CustomNode {
----------------------------------------------
Comment 1 J Bachorik 2010-03-05 07:58:25 UTC
fixed http://hg.netbeans.org/javafx/rev/ac815b1f47cd
Comment 2 Alexandr Scherbatiy 2010-03-09 09:09:33 UTC
verified in NetBeans-JavaFX-Soma:  #179