Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6E3C5200C03 for ; Sat, 21 Jan 2017 23:11:31 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 6CDAB160B4A; Sat, 21 Jan 2017 22:11:31 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B486E160B42 for ; Sat, 21 Jan 2017 23:11:30 +0100 (CET) Received: (qmail 38702 invoked by uid 500); 21 Jan 2017 22:11:29 -0000 Mailing-List: contact dev-help@kafka.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@kafka.apache.org Delivered-To: mailing list dev@kafka.apache.org Received: (qmail 38686 invoked by uid 99); 21 Jan 2017 22:11:29 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Jan 2017 22:11:29 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 4CD0FC0328 for ; Sat, 21 Jan 2017 22:11:29 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.199 X-Spam-Level: X-Spam-Status: No, score=-1.199 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 2X6UhmvmFuZV for ; Sat, 21 Jan 2017 22:11:28 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 1184C5F252 for ; Sat, 21 Jan 2017 22:11:28 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 15291E0236 for ; Sat, 21 Jan 2017 22:11:27 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 65D3525287 for ; Sat, 21 Jan 2017 22:11:26 +0000 (UTC) Date: Sat, 21 Jan 2017 22:11:26 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: dev@kafka.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KAFKA-4672) KIP-100 api changes break Java 8 lambda expressions in some cases MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 21 Jan 2017 22:11:31 -0000 [ https://issues.apache.org/jira/browse/KAFKA-4672?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1583= 3168#comment-15833168 ]=20 ASF GitHub Bot commented on KAFKA-4672: --------------------------------------- Github user asfgit closed the pull request at: https://github.com/apache/kafka/pull/2402 > KIP-100 api changes break Java 8 lambda expressions in some cases=20 > ------------------------------------------------------------------ > > Key: KAFKA-4672 > URL: https://issues.apache.org/jira/browse/KAFKA-4672 > Project: Kafka > Issue Type: Bug > Components: streams > Affects Versions: 0.10.2.0 > Reporter: Xavier L=C3=A9aut=C3=A9 > Assignee: Xavier L=C3=A9aut=C3=A9 > Fix For: 0.10.2.0, 0.10.3.0 > > > Variance changes introduced in KIP-100 cause compilation failures with la= mbda expression in Java 8. > To my knowledge this only affects the following method > {{KStreams.transform(TransformerSupplier<...>, String...)}} > prior to the changes it was possible to write > {{streams.transform(MyTransformer::new)}} > where {{MyTransformer}} extends {{Transformer}}. > After the changes the Java compiler is unable to infer correct return typ= es for the lambda expression. -- This message was sent by Atlassian JIRA (v6.3.4#6332)