Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 179218 - Move to default package
Move to default package
Product: javafx
Classification: Unclassified
Component: Unsupported
All All
: P2 (vote)
: 6.x
Assigned To: J Bachorik
Depends on:
  Show dependency treegraph
Reported: 2010-01-05 04:46 UTC by artisan
Modified: 2010-01-26 06:20 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT


Note You need to log in before you can comment on or make changes to this bug.
Description artisan 2010-01-05 04:46:49 UTC
When moving a class to the default package the refactored source code begins with "package ;". Which results in a compilation error.


package ; <= compilation error

import javafx.scene.CustomNode;
import javafx.scene.Node;
import javafx.scene.text.Text;
import javafx.scene.Group;

class Test extends CustomNode {
    override protected function create () : Node {
        Text {
            content: "testing..."

def test:Node = Test{};
def isGroup = test instanceof Group;


Product Version: NetBeans IDE 6.8 (Build 200912041610)
Java: 1.6.0_17; Java HotSpot(TM) 64-Bit Server VM 14.3-b01
System: Linux version 2.6.31-16-generic running on amd64; UTF-8; en_US (nb)
Comment 1 Lukas Hasik 2010-01-05 06:31:34 UTC
1, increasing priority and marking as patch1 candidate
2, added test case for this bug -
Comment 2 J Bachorik 2010-01-11 08:09:31 UTC
fixed in trunk -
Comment 3 Alexandr Scherbatiy 2010-01-12 07:25:55 UTC
verified in NetBeans-JavaFX-Soma: #93
Comment 4 rbalada 2010-01-21 03:23:59 UTC
The fix has been ported to branch release68_fixes
Comment 5 rbalada 2010-01-22 09:30:16 UTC
I've reverted the changeset due to it's dependency on TreePathHandle -> ElementLocation refactoring (revert committed as

New version of the change has been committed in release68_fixes branch as a changeset shared with a fix for issue 176894
Comment 6 Alexandr Scherbatiy 2010-01-26 06:20:49 UTC
Verified in NB 6.8 patch1 2010-01-26_05-22-22

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo