On Fri, 25 Sep 2020 15:49:12 GMT, Kevin Rushforth <k...@openjdk.org> wrote:

>> Makes sense to me. I changed it accordingly.
>
> I don't think this change is correct.  `setAll(Collection)` should return 
> true if the list is modified. As discussed in
> an [earlier comment](#issuecomment-684117392) this means returning true if 
> either the existing Collection or the new
> Collection is non-empty.

I'm sorry, you're absolutely right. I didn't spend enough time thinking about 
the change and assumed it was fine since
the tests passed. Turns out the test didn't cover it. I reverted that part of 
the change and improved the test.

-------------

PR: https://git.openjdk.java.net/jfx/pull/284

Reply via email to