Hello! Hopefully this is the right place for this suggestion - I originally
posted this on the discuss list, but was told this list would be more
appropriate.

Recently, I've read some of the discussion linked in JEP 269 (Convenience
Factory Methods for Collections), including why Collection Literals were
shelved when brought up in Project Coin and Lambda. I believe that things
may be different enough now (with dynamic constants possible, local
variable inference and lambdas present, value types closer to completion,
and Project Amber bringing "smaller" features under consideration) to bring
them up yet again.

I've tried writing an informal proposal for them that tries to answer the
main questions brought up in those original discussions:
https://gist.github.com/l-Luna/08b6574d0c840de93634cf8d1e43c494

I understand that it's still unlikely to be added in the near future, but
thought it wouldn't hurt to bring up again.

Reply via email to