RFR(s): JDK-8203184 List.copyOf() fails to copy sublists

Paul Sandoz paul.sandoz at oracle.com
Wed Jun 20 21:36:55 UTC 2018


+1

Paul.

> On Jun 20, 2018, at 2:18 PM, Stuart Marks <stuart.marks at oracle.com> wrote:
> 
> Hi all,
> 
> Please review this small changeset that restores copy semantics to List.copyOf() when applied to a sublist of an unmodifiable list.
> 
> Webrev:
> 
>    http://cr.openjdk.java.net/~smarks/reviews/8203184/webrev.0/
> 
> Bug:
> 
>    https://bugs.openjdk.java.net/browse/JDK-8203184
> 
> Thanks,
> 
> s'marks



More information about the core-libs-dev mailing list