Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A4D3A9FA2 for ; Thu, 7 Jun 2012 20:40:24 +0000 (UTC) Received: (qmail 68937 invoked by uid 500); 7 Jun 2012 20:40:24 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 68895 invoked by uid 500); 7 Jun 2012 20:40:24 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 68881 invoked by uid 99); 7 Jun 2012 20:40:24 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jun 2012 20:40:24 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 33745142859 for ; Thu, 7 Jun 2012 20:40:24 +0000 (UTC) Date: Thu, 7 Jun 2012 20:40:24 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: <1256304609.49584.1339101624217.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1105903016.46204.1339035923608.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (HBASE-6183) hbase-common doesn't compile with jdk1.7 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/HBASE-6183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13291283#comment-13291283 ] stack commented on HBASE-6183: ------------------------------ Can you just do -DcompileSource=1.7 when you invoke mvn? > hbase-common doesn't compile with jdk1.7 > ---------------------------------------- > > Key: HBASE-6183 > URL: https://issues.apache.org/jira/browse/HBASE-6183 > Project: HBase > Issue Type: Sub-task > Reporter: Jimmy Xiang > Assignee: Jimmy Xiang > > With jdk1.7, mvn clean test give me this error: > [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project hbase-common: Compilation failure: Compilation failure: > [ERROR] could not parse error message: warning: [options] bootstrap class path not set in conjunction with -source 1.6 > [ERROR] /home/jxiang/git-repos/apache/tmp/t2/hbase-common/src/main/java/org/apache/hadoop/hbase/util/Bytes.java:44: warning: Unsafe is internal proprietary API and may be removed in a future release > [ERROR] import sun.misc.Unsafe; > [ERROR] ^ > [ERROR] > [ERROR] /home/jxiang/git-repos/apache/tmp/t2/hbase-common/src/main/java/org/apache/hadoop/hbase/util/Bytes.java:[1040,19] Unsafe is internal proprietary API and may be removed in a future release > [ERROR] > [ERROR] /home/jxiang/git-repos/apache/tmp/t2/hbase-common/src/main/java/org/apache/hadoop/hbase/util/Bytes.java:[1046,21] Unsafe is internal proprietary API and may be removed in a future release > [ERROR] > [ERROR] /home/jxiang/git-repos/apache/tmp/t2/hbase-common/src/main/java/org/apache/hadoop/hbase/util/Bytes.java:[1051,28] Unsafe is internal proprietary API and may be removed in a future releas -- 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