7148143: PropertyChangeSupport.addPropertyChangeListener can throw ClassCastExceptionReviewed-by: rupashka