Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 5004188
Votes 1
Synopsis Refactor listener management in [Property|Vetoable]ChangeSupport.java
Category java:classes_beans
Reported Against 1.3 , tiger-beta2
Release Fixed 7(b20)
State 10-Fix Delivered, bug
Priority: 4-Low
Related Bugs 6525948 , 6630270 , 6630275 , 4425885
Submit Date 26-FEB-2004
Description
While investigating 4985020, I noticed that the code for managing the addition and removal of listeners in PropertyChangeSupport is a bit convoluted.  In some cases, it takes as many as 4 calls back and forth between addPropertyChangeListener(listener) and addPropertyChangeListener(name, listener) before a listener is added.  There is some room for cleanup here.
Work Around
N/A
Evaluation
Aiming for 1.5.1.
  xxxxx@xxxxx   2004-02-26
We should synchronize the changes in PropertyChangeSupport and VetoableChangeSupport classes because they have similar behaviour.
Posted Date : 2007-03-19 16:06:18.0

We should create shared class for PropertyChangeSupport and Vetoable]ChangeSupport.
Note that we should fix synchronization problem too (see 6525948).
Posted Date : 2007-06-18 15:26:48.0
Comments
  
  Include a link with my name & email   

Submitted On 03-SEP-2007
How is this a duplicate of 4425885, exactly?



PLEASE NOTE: JDK6 is formerly known as Project Mustang