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

Tagir Valeev amaembo at gmail.com
Wed Dec 6 02:54:25 UTC 2017


I think, CopyOnWriteArrayList and a List returned by Arrays.asList
deserve specialized implementation as well.

With best regards,
Tagir Valeev.

On Wed, Dec 6, 2017 at 8:27 AM, Stuart Marks <stuart.marks at oracle.com> wrote:
> Revised webrev based on comments from Martin Buchholz and Paul Sandoz:
>     http://cr.openjdk.java.net/~smarks/reviews/8060192/webrev.1/
> I've done a bit of rewriting of the @apiNote sections to clarify the
> intended use of the various toArray() methods.
> s'marks

More information about the core-libs-dev mailing list