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 - Adding a property to a interface generates field.
Summary: Adding a property to a interface generates field.
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Beans (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jan Pokorsky
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2005-03-29 18:50 UTC by brviking
Modified: 2006-03-24 12:52 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 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