[ 
https://issues.apache.org/jira/browse/HBASE-6183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13290800#comment-13290800
 ] 

stack commented on HBASE-6183:
------------------------------

This is interesting Jimmy.  I took a quick look around and didn't turn up 
anything that'd help here.  I did not find conclusive evidence Unsafe access is 
disallowed in jdk7 (I looked in sun bug database but their search sucks).
                
> 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
>
> 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

        

Reply via email to