Default methods syntax survey
Brian Goetz
brian.goetz at oracle.com
Tue Aug 7 23:42:00 PDT 2012
In "option 1", default immediately precedes the body:
void foo() throws X, Y default { … }
In "option 2", obviously there is no interaction.
On Aug 7, 2012, at 11:10 PM, Aleksey Shipilev wrote:
> On 08/07/2012 07:29 PM, Brian Goetz wrote:
>> Here is a one-question syntax survey on default methods for Java SE 8:
>> https://www.surveymonkey.com/s/9VPJZQQ
>>
>> Feel free to republish elsewhere; survey will close on Friday of this week.
>
> By the way, it should be considered along with "throws" placement there.
> How do "default" and "throws" add up together syntactically?
>
> -Aleksey.
>
>
More information about the lambda-dev
mailing list