flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-6943) Improve exceptions within TypeExtractionUtils#getSingleAbstractMethod
Date Tue, 20 Jun 2017 13:55:00 GMT

    [ https://issues.apache.org/jira/browse/FLINK-6943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16055796#comment-16055796

ASF GitHub Bot commented on FLINK-6943:

Github user zentol commented on the issue:


> 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
> 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

View raw message