You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (JIRA)" <ji...@apache.org> on 2017/06/25 06:56:02 UTC

[jira] [Closed] (FLINK-6943) Improve exceptions within TypeExtractionUtils#getSingleAbstractMethod

     [ https://issues.apache.org/jira/browse/FLINK-6943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chesnay Schepler closed FLINK-6943.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.4.0

1.4: 2274bf74f0ac84fdcf6a6109426ada3c61b4454e

> Improve exceptions within TypeExtractionUtils#getSingleAbstractMethod
> ---------------------------------------------------------------------
>
>                 Key: FLINK-6943
>                 URL: https://issues.apache.org/jira/browse/FLINK-6943
>             Project: Flink
>          Issue Type: Bug
>          Components: Core
>            Reporter: Dawid Wysakowicz
>            Assignee: Dawid Wysakowicz
>             Fix For: 1.4.0
>
>
> Exception message seems to be inexact. 
> Also if there is no SAM, sam would be null upon returning from the method.
> The suggestion from a review was to change the message and add a check (for null sam) prior to returning.
> Another suggestion is to check if the given method is an interface, as only for interface it is possible to pass lambda.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)