hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-6183) hbase-common doesn't compile with jdk1.7
Date Thu, 07 Jun 2012 20:40:24 GMT

    [ 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

        

Mime
View raw message