JEP 186: Collection Literals

Remi Forax forax at
Tue Jan 14 12:20:57 PST 2014

On 01/14/2014 09:05 PM, roger riggs wrote:
> Hi,
> With respect to collection literals and classfiles; it would be prudent to
> examine the initialization of the literals and be able to have a late
> binding
> mechanism that will delay initialization until the literal is used.
> Perhaps the initialization could be pushed into a nested class.
> $.02, Roger

using invokedynamic should solve that issue
(the same way it does for lambdas)


More information about the lambda-dev mailing list