Traits for java

David Holmes david.holmes at oracle.com
Thu Oct 20 16:36:03 PDT 2011


On 21/10/2011 12:26 AM, Joe Darcy wrote:
> On 10/20/2011 06:57 AM, Jose Antonio Illescas Del Olmo wrote:
>> I don't know if this list is the best place to submit this request.
>
> The proper place to submit such requests is
> http://bugreport.sun.com/bugreport/

I think these days the right thing to do is to create a JEP:

http://openjdk.java.net/jeps/0
http://openjdk.java.net/jeps/1

but even then it should be discussed on an open mailing-list 
before/during/after formulation.

David

>> One interesting feature can be Traits (interfaces with implemented methods)
>>
>>
>>         Split multiples functionalities on each Traits and remove
>> macro-classes with macro-functionalities
>>
>>
>> Please see: http://code.google.com/p/groovypptest/wiki/Traits
>>
>>       PD: this change is minimun from a java coder view (some methods on
>> interfaces can have a default implementation)
>>
>
> FYI, this is similar to the defender methods/virtual extension methods
> being worked on in the context of Project Lambda:
>
>       http://openjdk.java.net/projects/lambda/
>       http://mail.openjdk.java.net/mailman/listinfo/lambda-dev
>
> Cheers,
>
> -Joe
>
>



More information about the coin-dev mailing list