Collection.toArray <was> Re: Loose ends inventory

Doug Lea dl at
Tue Jun 11 09:26:08 PDT 2013

On 06/11/13 12:21, Brian Goetz wrote:

> only reason to consider it now is because of the accidental reality of internal
> tests that would have to be changed -- which test code that *no user will ever
> write*.

I've thought that before and was wrong, so am extra-cautious.
Among other oddities in billion-line code base are cases where
people write bad code just to force particular exceptions.

>> ... like toGeneratedArray?

or arrayify?


More information about the lambda-libs-spec-experts mailing list