+1. I presume you considered it and decided that copying the weak maps is better than sharing WeakPropertyMapSet objects and making their methods synchronized.
> On Jan 15, 2016, at 12:49 PM, Hannes Wallnoefer > <hannes.wallnoe...@oracle.com> wrote: > > Please review: > > Webrev: http://cr.openjdk.java.net/~hannesw/8146274/ > Bug: https://bugs.openjdk.java.net/browse/JDK-8146274 > > I was not able to reproduce the issue although I tried my best to follow the > instructions. However, it is pretty clear that the issue is that the cause > for the concurrent modification exception is the sharing of > WeakPropertyMapSets between PropertyMapListeners. > > Thanks, > Hannes