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 56609

Summary: Attribute not fire attribute events properly
Product: java Reporter: Jan Pokorsky <jpokorsky>
Component: UnsupportedAssignee: Martin Matula <mmatula>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P3    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Jan Pokorsky 2005-03-17 14:42:30 UTC
If I change the return type or the default value on a method (attribute) of the
annotation type my listener registered to the attribute is not notified about
that. Name and modifiers change events work as expected.
Comment 1 Martin Matula 2005-03-17 16:13:07 UTC
Fixed.

Checking in src/org/netbeans/modules/javacore/jmiimpl/javamodel/AttributeImpl.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/AttributeImpl.java,v
 <--  AttributeImpl.java
new revision: 1.26; previous revision: 1.25
done
Comment 2 Jan Pokorsky 2005-03-17 16:54:34 UTC
The return type works now. Where do I have to listen to default value changes? 
Comment 3 Martin Matula 2005-03-17 17:17:44 UTC
Default value, field initial value and method body are transient elements -
there are no event notifications for them.
Comment 4 Jan Pokorsky 2005-03-17 17:31:13 UTC
Then it prevents the node view to keep the node property of the annotation type
method in sync with the edited source file. Likely not too severe.
Comment 5 Quality Engineering 2007-09-20 09:46:16 UTC
Reorganization of java component