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 57149

Summary: Adding a property to a interface generates field.
Product: java Reporter: brviking <brviking>
Component: BeansAssignee: Jan Pokorsky <jpokorsky>
Status: CLOSED FIXED    
Severity: blocker Keywords: REGRESSION
Priority: P2    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description brviking 2005-03-29 18:50:29 UTC
Steps to reproduce:
Select an interface, expands until Bean Patterns. Right click, and select Add...
Property.
Fill in form and select "Bound" and "Generate Field".
The setter and getters are generated, as expected, and the field too (interfaces
has no fields)!

This doesn't occur with previous versions where expected behaviour occurred.
I'm using dev version 200503201900 version.
Comment 1 Jan Pokorsky 2005-03-30 14:12:41 UTC
It is a regression. The same applies to the indexed property customizer.
Fixed in

/cvs/beans/src/org/netbeans/modules/beans/IdxPropertyPatternPanel.java
new revision: 1.26; previous revision: 1.25
/cvs/beans/src/org/netbeans/modules/beans/PropertyPatternPanel.java
new revision: 1.30; previous revision: 1.29
Comment 2 Jiri Prox 2005-07-26 16:00:46 UTC
verified