[foreign] RFR 8219119: Need API to create a null Callback
Sundararajan Athijegannathan
sundararajan.athijegannathan at oracle.com
Mon Feb 18 03:52:19 UTC 2019
Updated: https://cr.openjdk.java.net/~sundar/8219119/webrev.01/
Thanks
-Sundar
On 15/02/19, 10:33 PM, Maurizio Cimadamore wrote:
> Looks good - but I think it can be simplified further - there's no
> need to accept a carrier type in Callback::ofNull.
>
> You can just create a CallbackImpl which throws NPE whenever you try
> to call 'asFunction'.
>
> Maurizio
>
> On 15/02/2019 17:00, Sundararajan Athijegannathan wrote:
>> Please review.
>>
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8219119
>> Webrev: https://cr.openjdk.java.net/~sundar/8219119/webrev.00/
>>
>> Thanks,
>> -Sundar
More information about the panama-dev
mailing list