Default method survey results

Deepak S Patwardhan deepak.patwardhan at itaas.com
Mon Aug 13 06:23:23 PDT 2012


> -----Original Message-----
> From: lambda-dev-bounces at openjdk.java.net [mailto:lambda-dev-
> bounces at openjdk.java.net] On Behalf Of Jose A. Illescas
> Sent: 13 August 2012 16:40
> To: Brian Goetz
> Cc: lambda-dev at openjdk.java.net
> Subject: Re: Default method survey results
> 
> Brian, Why not add one thirth option (without "default" keyword) to poll?
> 
> 1.  void foo() default {
>           System.out.println("foo");
>       }
> 
> 2.  default void foo() {
>           System.out.println("foo");
>       }
> 
> 3.     void foo() {
> 
>           System.out.println("foo");
>       }
> 

If we explore going down this path, I think we should also explore using an
annotation,

@java.lang.Default
void foo() {
    System.out.println("foo");
}

I would be interested in knowing if using such an annotation has any
demerits.

Regards,
Deepak S Patwardhan.
 
> 
> 
> 
> On 12/08/2012 00:30, Brian Goetz wrote:
> > Poll is closed, and results can be seen here:
> >
> >
> >
> https://www.surveymonkey.com/sr.aspx?sm=xPw4AxfWK2TTQLQtbIpQCg0l
> bkw_2fuYDiZnrBDB_2bPyd4_3d
> >
> >
> >




More information about the lambda-dev mailing list