Re: Implementing VarHandle

2015-04-20 Thread Peter Levart
On 04/19/2015 02:06 PM, Brian Goetz wrote: Thanks Remi. I’d like to separate this discussion into two components: implementation and API. Let’s talk about API first. We did give a fair amount of thought to the sigpoly-vs-typesafe API question. VarHandles allow you to abstract data access

Re: Implementing VarHandle

2015-04-20 Thread Paul Sandoz
Hi Peter, We did consider supporting field and method literals in 9, leveraging the same syntax as for method references combined with target typing. But, we have currently concluded it would be best to punt it to post-9. As a result there is currently no compelling need to support

Re: Implementing VarHandle

2015-04-20 Thread Paul Sandoz
On Apr 20, 2015, at 4:40 PM, Remi Forax fo...@univ-mlv.fr wrote: On 04/20/2015 11:06 AM, Paul Sandoz wrote: Hi Peter, We did consider supporting field and method literals in 9, leveraging the same syntax as for method references combined with target typing. But, we have currently

Re: Implementing VarHandle

2015-04-20 Thread Remi Forax
On 04/20/2015 11:06 AM, Paul Sandoz wrote: Hi Peter, We did consider supporting field and method literals in 9, leveraging the same syntax as for method references combined with target typing. But, we have currently concluded it would be best to punt it to post-9. As a result there is