scala/scala — pull request #4133 by som-snytt (2014-11-14 19:20:47+00:00)
Title: SI-8976 MutableList.tail.iterator.size is length

This is fixed by capping the length of iterator.

That is OK because mutating the list by adding to it during
iteration is not allowed.

A test is added that will no doubt be superseded by the QCC tests.
(Quasi-Comprehensive Collections.)

Review by @Ichoran