Re: jmx-dev JDK-7120365 DiffHBTest.java fails due to ConcurrentModificationException

2012-12-26 Thread Alan Bateman
On 26/12/2012 15:07, shanliang wrote: Yes should use a cop[y, it is a mistake to use a unmodifiable view. Here is the new webrev: http://cr.openjdk.java.net/~sjiang/JDK-7120365/webrev.02/ I have added a new test to reproduce the bug in an almost sure way. Thanks, Shanliang Thanks for the u

Re: jmx-dev JDK-7120365 DiffHBTest.java fails due to ConcurrentModificationException

2012-12-26 Thread shanliang
Yes should use a cop[y, it is a mistake to use a unmodifiable view. Here is the new webrev: http://cr.openjdk.java.net/~sjiang/JDK-7120365/webrev.02/ I have added a new test to reproduce the bug in an almost sure way. Thanks, Shanliang Alan Bateman wrote: On 24/12/2012 14:08, shanliang wr