[+Paul] On Fri, Feb 23, 2018 at 6:28 AM, Alan Bateman <alan.bate...@oracle.com> wrote:
> > 8198484: URLClassPath should use an ArrayDeque instead of a Stack > http://cr.openjdk.java.net/~martin/webrevs/jdk/URLClassPath-ArrayDeque/ > https://bugs.openjdk.java.net/browse/JDK-8198484 > > Can copyToArrayDeque use addAll? > Not directly, because addAll uses a lambda, and it's too early in the bootstrap for lambdas. We could delambdafy ArrayDeque, plausibly because ArrayDeque is a super-core class, perhaps reengineering ArrayDeque(Collection) and/or addAll(Collection). Or perhaps lambda team has a plan to allow lambdas to be used in corest of core java sometime soon?