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 D2DDE200D06 for ; Mon, 25 Sep 2017 13:39:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D1A631609C4; Mon, 25 Sep 2017 11:39:07 +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 23CF81609BB for ; Mon, 25 Sep 2017 13:39:06 +0200 (CEST) Received: (qmail 74818 invoked by uid 500); 25 Sep 2017 11:39:06 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 74807 invoked by uid 99); 25 Sep 2017 11:39:06 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Sep 2017 11:39:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id A2DA01A39A4 for ; Mon, 25 Sep 2017 11:39:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.502 X-Spam-Level: X-Spam-Status: No, score=-99.502 tagged_above=-999 required=6.31 tests=[KAM_NUMSUBJECT=0.5, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 0BYsA_9YaoIS for ; Mon, 25 Sep 2017 11:39:04 +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 0E92760D08 for ; Mon, 25 Sep 2017 11:39:04 +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 3CBB3E00A7 for ; Mon, 25 Sep 2017 11:39:03 +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 64AA024232 for ; Mon, 25 Sep 2017 11:39:00 +0000 (UTC) Date: Mon, 25 Sep 2017 11:39:00 +0000 (UTC) From: "Steve Loughran (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-14900) LambdaTestUtils won't compile with early versions of Java 8 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 25 Sep 2017 11:39:08 -0000 [ https://issues.apache.org/jira/browse/HADOOP-14900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Loughran updated HADOOP-14900: ------------------------------------ Summary: LambdaTestUtils won't compile with early versions of Java 8 (was: Errors in trunk with early versions of Java 8) > LambdaTestUtils won't compile with early versions of Java 8 > ----------------------------------------------------------- > > Key: HADOOP-14900 > URL: https://issues.apache.org/jira/browse/HADOOP-14900 > Project: Hadoop Common > Issue Type: Bug > Components: tools > Affects Versions: 3.0.0-beta1 > Reporter: Ray Chiang > Assignee: Ray Chiang > > Just to document the issue in case other developers run into this. Compiling trunk with jdk 1.8u05 gives the following errors when compiling: > {noformat} > [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile (default-testCompile) on project hadoop-aws: Compilation failure: Compilation failure: > [ERROR] /root/hadoop/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/ITestS3AEncryptionAlgorithmValidation.java:[45,5] reference to intercept is ambiguous > [ERROR] both method intercept(java.lang.Class,java.lang.String,org.apache.hadoop.test.LambdaTestUtils.VoidCallable) in org.apache.hadoop.test.LambdaTestUtils and method intercept(java.lang.Class,java.lang.String,java.util.concurrent.Callable) in org.apache.hadoop.test.LambdaTestUtils match > [ERROR] /root/hadoop/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/ITestS3AEncryptionAlgorithmValidation.java:[69,5] reference to intercept is ambiguous > [ERROR] both method intercept(java.lang.Class,java.lang.String,org.apache.hadoop.test.LambdaTestUtils.VoidCallable) in org.apache.hadoop.test.LambdaTestUtils and method intercept(java.lang.Class,java.lang.String,java.util.concurrent.Callable) in org.apache.hadoop.test.LambdaTestUtils match > [ERROR] /root/hadoop/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/ITestS3AEncryptionAlgorithmValidation.java:[94,5] reference to intercept is ambiguous > [ERROR] both method intercept(java.lang.Class,java.lang.String,org.apache.hadoop.test.LambdaTestUtils.VoidCallable) in org.apache.hadoop.test.LambdaTestUtils and method intercept(java.lang.Class,java.lang.String,java.util.concurrent.Callable) in org.apache.hadoop.test.LambdaTestUtils match > [ERROR] /root/hadoop/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/ITestS3AEncryptionAlgorithmValidation.java:[120,5] reference to intercept is ambiguous > [ERROR] both method intercept(java.lang.Class,java.lang.String,org.apache.hadoop.test.LambdaTestUtils.VoidCallable) in org.apache.hadoop.test.LambdaTestUtils and method intercept(java.lang.Class,java.lang.String,java.util.concurrent.Callable) in org.apache.hadoop.test.LambdaTestUtils match > {noformat} > Based on my testing jdk 1.8u92 doesn't produce this error. > I don't think this issue needs to be fixed in the code, but documenting it in JIRA. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org