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.
Hi, I've just downloaded NB 6.1 Dev 200804020004 in order to use the new property editor and I've found a wrong implementation of the setter method. This is a property just created: private Integer i2 = null; public static final String PROP_I2 = "i2"; public Integer getI2 () { return i2; } public void setI2 ( Integer i2 ) { Integer oldI2 = i2; this.i2 = i2; propertyChangeSupport.firePropertyChange(PROP_I2, oldI2, i2); } The implementation of the setter is wrong because the first statement should be: Integer oldI2 = this.i2; or, even better: Integer oldI2 = getI2(); but certainly not what currently created. Claudio
*** Issue 132284 has been marked as a duplicate of this issue. ***
fixed as http://hg.netbeans.org/main/rev/099396106e55
verified in trunk. It's good candidate for patch
The fix has been ported into the release61_fixes branch: http://hg.netbeans.org/release61_fixes/rev/6df438e82567
*** Issue 134042 has been marked as a duplicate of this issue. ***
*** Issue 134446 has been marked as a duplicate of this issue. ***
*** Issue 135226 has been marked as a duplicate of this issue. ***