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.
I am tracking AttributeEvents coming from MDRPreChangeListener. If I add new classes to project (interface + impl class that create EJB3 session bean) I receive folowing AttributeEvents with "classifiers" attribute name: ### Event: AttributeEvent.EVENT_ATTRIBUTE_ADD, classifiers, null - aaa.NewSessionBean ### Event: AttributeEvent.EVENT_ATTRIBUTE_ADD, classifiers, null - aaa.NewSessionLocal ### Event: AttributeEvent.EVENT_ATTRIBUTE_REMOVE, classifiers, aaa.NewSessionBean - null ### Event: AttributeEvent.EVENT_ATTRIBUTE_ADD, classifiers, null - aaa.NewSessionBean ### Event: AttributeEvent.EVENT_ATTRIBUTE_REMOVE, classifiers, aaa.NewSessionLocal - null ### Event: AttributeEvent.EVENT_ATTRIBUTE_ADD, classifiers, null - aaa.NewSessionLocal After applying patch to ExclusiveMutex proposed by thurka result is: ### Event: AttributeEvent.EVENT_ATTRIBUTE_ADD, classifiers, null - aaa.NewSessionBean ### Event: AttributeEvent.EVENT_ATTRIBUTE_ADD, classifiers, null - aaa.NewSessionLocal which is what I expect in this case. Please evaluate and apply this patch.
Created attachment 28691 [details] Proposed patch
Fixed in trunk. Should I apply the fix to javaee5 branch?
Yes, please merge the fix in javaee5 branch too. thanks
Fixed in javaee5 Checking in ExclusiveMutex.java; /cvs/java/javacore/src/org/netbeans/modules/javacore/ExclusiveMutex.java,v <-- ExclusiveMutex.java new revision: 1.50.6.3; previous revision: 1.50.6.2 done
Reorganization of java component