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 A9E2610FE1 for ; Tue, 16 Dec 2014 01:11:35 +0000 (UTC) Received: (qmail 23636 invoked by uid 500); 16 Dec 2014 01:11:35 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 23586 invoked by uid 500); 16 Dec 2014 01:11:35 -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 23574 invoked by uid 99); 16 Dec 2014 01:11:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Dec 2014 01:11:35 +0000 Date: Tue, 16 Dec 2014 01:11:35 +0000 (UTC) From: "Elliott Clark (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-12695) JDK 1.8 compilation broken 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-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)