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 45996 - Move Class dialog incorrectly uses display name of package nodes
Summary: Move Class dialog incorrectly uses display name of package nodes
Alias: None
Product: editor
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@java
: 45841 (view as bug list)
Depends on:
Blocks: 41448
  Show dependency tree
Reported: 2004-07-10 00:58 UTC by Jesse Glick
Modified: 2007-04-03 18:02 UTC (History)
1 user (show)

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 Jesse Glick 2004-07-10 00:58:14 UTC
040708. If you run with,
and try to move a class to a different package, it
thinks it is putting it in the truncated display
name of the package, rather than its full name.

Never use Node.getDisplayName() on a package node
for programmatic purposes! The exact display
string is *not* specified by the APIs.
Comment 1 Jan Becicka 2004-07-12 09:58:38 UTC

Checking in;
new revision: 1.7; previous revision: 1.6
Comment 2 Jan Lahoda 2004-07-12 12:26:44 UTC
*** Issue 45841 has been marked as a duplicate of this issue. ***