Request for Review : CR#8004015 : [2nd pass] Add interface extends and defaults for basic functional interfaces
Mike Duigou
mike.duigou at oracle.com
Wed Dec 5 10:15:59 PST 2012
On Dec 5 2012, at 03:00 , Stephen Colebourne wrote:
> On 5 December 2012 05:47, Mike Duigou <mike.duigou at oracle.com> wrote:
>> Hello all;
>>
>> I have updated the proposed patch. The changes primarily add class and method documentation regarding handling of null for the primitive specializations.
>>
>> http://cr.openjdk.java.net/~mduigou/8004015/1/webrev/
>> http://cr.openjdk.java.net/~mduigou/8004015/1/specdiff/java/util/function/package-summary.html
>>
>> I've also reformatted the source for the default methods.
>
> The extra null comments and formatting look good. I do note that the
> suppliers do not have the extra null comments.
Since supplier takes no params I hoped to avoid having to make a statement about null. Since specifying that null will never be returned actually simplifies things I opted to add the constraint.
Mike
More information about the lambda-dev
mailing list