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 47923 - DataObject cookie missing on some nodes
Summary: DataObject cookie missing on some nodes
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Pokorsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-25 15:37 UTC by Martin Matula
Modified: 2007-09-26 09:14 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 Martin Matula 2004-08-25 15:37:46 UTC
I have noticed that DataObject cookie is missing
on some nodes. Particularily I experienced this on
nodes representing annotation attributes. This
causes Find usages and refactoring features to now
work on annotation attribute default values.
Comment 1 Jan Pokorsky 2004-08-25 15:57:02 UTC
It relates to nodes representing new jdk1.5 features. As a workaround
you can obtain DataObject via JMIElementCookie -> Element -> Resource
-> DataObject.
Comment 2 Jan Pokorsky 2004-09-07 11:16:51 UTC
fixed in

/cvs/java/src/org/netbeans/modules/java/ui/nodes/JavaSourceNodeFactory.java
new revision: 1.11; previous revision: 1.10
/cvs/java/src/org/netbeans/modules/java/ui/nodes/elements/ElementNode.java
new revision: 1.11; previous revision: 1.10