RFR(s): 8060192: Add default method Collection.toArray(generator)

Stuart Marks stuart.marks at oracle.com
Wed Dec 6 19:39:11 UTC 2017

On 12/5/17 6:54 PM, Tagir Valeev wrote:
> I think, CopyOnWriteArrayList and a List returned by Arrays.asList
> deserve specialized implementation as well.

Sure, I can add one to Array.asList right away (as part of this changeset). It's 
even covered by tests already.

I'll work with Martin to update COWAL. Depending on how he wants to handle it, 
this might be done separately.


More information about the core-libs-dev mailing list