RFR (S) 8073479: Replace obj.getClass hacks with Objects.requireNonNull
Peter Levart
peter.levart at gmail.com
Fri Feb 20 17:00:53 UTC 2015
On 02/20/2015 04:33 PM, Aleksey Shipilev wrote:
> On 02/19/2015 05:51 PM, Aleksey Shipilev wrote:
>> Hi,
>>
>> Please review and sponsor this cleanup fix:
>> http://cr.openjdk.java.net/~shade/8073479/webrev.00/
>> https://bugs.openjdk.java.net/browse/JDK-8073479
>>
>> Summary: use Objects.requireNonNull instead of object.getClass to check
>> for nullity.
> Okay, the same webrev:
> http://cr.openjdk.java.net/~shade/8073479/webrev.00/
>
> Now we have a few reviews, here is a changeset:
> http://cr.openjdk.java.net/~shade/8073479/8073479.changeset
>
> Please sponsor!
I can sponsor this change (I haven't realized at first that you need a
sponsor, sorry).
Regards, Peter
> Thanks,
> -Aleksey.
>
>
>
More information about the core-libs-dev
mailing list