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 D4D8B200B93 for ; Fri, 16 Sep 2016 22:46:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D39A0160AC4; Fri, 16 Sep 2016 20:46:22 +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 2A070160ADB for ; Fri, 16 Sep 2016 22:46:22 +0200 (CEST) Received: (qmail 89409 invoked by uid 500); 16 Sep 2016 20:46:21 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 89350 invoked by uid 99); 16 Sep 2016 20:46:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Sep 2016 20:46:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D1EAB2C0D5B for ; Fri, 16 Sep 2016 20:46:20 +0000 (UTC) Date: Fri, 16 Sep 2016 20:46:20 +0000 (UTC) From: "Konstantin Shvachko (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-10866) Fix Eclipse Java 8 compile errors related to generic parameters. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 16 Sep 2016 20:46:23 -0000 [ https://issues.apache.org/jira/browse/HDFS-10866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15497313#comment-15497313 ] Konstantin Shvachko commented on HDFS-10866: -------------------------------------------- Thanks for checking on IntelliJ, Akira. {{(Token)}} is a raw type - that was the problem with the original variant. LMK if {{(Token)any()}} works for you. It does for me. > Fix Eclipse Java 8 compile errors related to generic parameters. > ---------------------------------------------------------------- > > Key: HDFS-10866 > URL: https://issues.apache.org/jira/browse/HDFS-10866 > Project: Hadoop HDFS > Issue Type: Bug > Affects Versions: 3.0.0-alpha1 > Reporter: Konstantin Shvachko > Assignee: Konstantin Shvachko > Attachments: HDFS-10866.01.patch, IntelliJ.png > > > Compilation with Java 8 in Eclipse returns errors, which are related to the use of generics. This does not effect command line maven builds and is confirmed to be a [bug in Eclipse|https://bugs.eclipse.org/bugs/show_bug.cgi?id=497905#c1].The fix is scheduled only for the next release, so all of us using Eclipse now will have that error. > Unless we fix it in Hadoop code, which makes sense to me as it appears as a warning in any case. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org