Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 23E51CC7D for ; Fri, 18 May 2012 20:31:31 +0000 (UTC) Received: (qmail 94954 invoked by uid 500); 18 May 2012 20:31:30 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 94919 invoked by uid 500); 18 May 2012 20:31:30 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 94909 invoked by uid 99); 18 May 2012 20:31:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 May 2012 20:31:30 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 May 2012 20:31:28 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 7E031EB54 for ; Fri, 18 May 2012 20:31:07 +0000 (UTC) Date: Fri, 18 May 2012 20:31:07 +0000 (UTC) From: "Eli Collins (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <1382531729.16145.1337373067517.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1785761304.4632.1335563215033.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HADOOP-8329) Hadoop-Common build fails with Java 7 on branch-1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-8329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eli Collins updated HADOOP-8329: -------------------------------- Attachment: (was: hadoop-8329.txt) > Hadoop-Common build fails with Java 7 on branch-1.0 > --------------------------------------------------- > > Key: HADOOP-8329 > URL: https://issues.apache.org/jira/browse/HADOOP-8329 > Project: Hadoop Common > Issue Type: Bug > Components: build > Affects Versions: 1.0.2, 1.0.3, 2.0.0 > Reporter: Kumar Ravi > Assignee: Eli Collins > Attachments: hadoop-8329.txt > > > I am seeing the following message running IBM Java 7 running branch-1.0 code. > compile: > [echo] contrib: gridmix > [javac] Compiling 31 source files to /home/hadoop/branch-1.0_0427/build/contrib/gridmix/classes > [javac] /home/hadoop/branch-1.0_0427/src/contrib/gridmix/src/java/org/apache/hadoop/mapred/gridmix/Gridmix.java:396: error: type argument ? extends T is not within bounds of type-variable E > [javac] private String getEnumValues(Enum[] e) { > [javac] ^ > [javac] where T,E are type-variables: > [javac] T extends Object declared in method getEnumValues(Enum[]) > [javac] E extends Enum declared in class Enum > [javac] /home/hadoop/branch-1.0_0427/src/contrib/gridmix/src/java/org/apache/hadoop/mapred/gridmix/Gridmix.java:399: error: type argument ? extends T is not within bounds of type-variable E > [javac] for (Enum v : e) { > [javac] ^ > [javac] where T,E are type-variables: > [javac] T extends Object declared in method getEnumValues(Enum[]) > [javac] E extends Enum declared in class Enum > [javac] Note: Some input files use unchecked or unsafe operations. > [javac] Note: Recompile with -Xlint:unchecked for details. > [javac] 2 errors > BUILD FAILED > /home/hadoop/branch-1.0_0427/build.xml:703: The following error occurred while executing this line: > /home/hadoop/branch-1.0_0427/src/contrib/build.xml:30: The following error occurred while executing this line: > /home/hadoop/branch-1.0_0427/src/contrib/build-contrib.xml:185: Compile failed; see the compiler error output for details. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira