You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Elliott Clark (JIRA)" <ji...@apache.org> on 2014/12/16 02:11:35 UTC

[jira] [Commented] (HBASE-12695) JDK 1.8 compilation broken

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

Elliott Clark commented on HBASE-12695:
---------------------------------------

{code}
/Users/elliott/Code/Public/hbase/hbase-common/src/main/java/org/apache/hadoop/hbase/util/Bytes.java:54: warning: Unsafe is internal proprietary API and may be removed in a future release
import sun.misc.Unsafe;
               ^
/Users/elliott/Code/Public/hbase/hbase-common/src/main/java/org/apache/hadoop/hbase/util/Bytes.java:1488: warning: Unsafe is internal proprietary API and may be removed in a future release
      static final Unsafe theUnsafe;
                   ^
/Users/elliott/Code/Public/hbase/hbase-common/src/main/java/org/apache/hadoop/hbase/util/Bytes.java:1494: warning: Unsafe is internal proprietary API and may be removed in a future release
        theUnsafe = (Unsafe) AccessController.doPrivileged(
                     ^
/Users/elliott/Code/Public/hbase/hbase-common/src/main/java/org/apache/hadoop/hbase/util/Bytes.java:1499: warning: Unsafe is internal proprietary API and may be removed in a future release
                  Field f = Unsafe.class.getDeclaredField("theUnsafe");
                            ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/elliott/Code/Public/hbase/hbase-common/src/main/java/org/apache/hadoop/hbase/CompoundConfiguration.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
4 warnings
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] HBase .............................................. SUCCESS [  1.594 s]
[INFO] HBase - Checkstyle ................................. SUCCESS [  0.409 s]
[INFO] HBase - Annotations ................................ SUCCESS [  0.587 s]
[INFO] HBase - Protocol ................................... SUCCESS [  6.869 s]
[INFO] HBase - Common ..................................... FAILURE [  5.100 s]
[INFO] HBase - Client ..................................... SKIPPED
[INFO] HBase - Hadoop Compatibility ....................... SKIPPED
[INFO] HBase - Hadoop Two Compatibility ................... SKIPPED
[INFO] HBase - Prefix Tree ................................ SKIPPED
[INFO] HBase - Server ..................................... SKIPPED
[INFO] HBase - Testing Util ............................... SKIPPED
[INFO] HBase - Thrift ..................................... SKIPPED
[INFO] HBase - Shell ...................................... SKIPPED
[INFO] HBase - Integration Tests .......................... SKIPPED
[INFO] HBase - Examples ................................... SKIPPED
[INFO] HBase - Rest ....................................... SKIPPED
[INFO] HBase - Assembly ................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14.943 s
[INFO] Finished at: 2014-12-15T16:41:47-08:00
[INFO] Final Memory: 72M/883M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project hbase-common: Fatal error compiling: com.sun.tools.javac.main.Main$Result cannot be cast to java.lang.Integer -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project hbase-common: Fatal error compiling
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
{code}

> JDK 1.8 compilation broken
> --------------------------
>
>                 Key: HBASE-12695
>                 URL: https://issues.apache.org/jira/browse/HBASE-12695
>             Project: HBase
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 2.0.0
>            Reporter: Elliott Clark
>            Priority: Critical
>
> Looks like trunk only.
> https://code.google.com/p/error-prone/issues/detail?id=240
> https://code.google.com/p/error-prone/issues/detail?id=246



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)