You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Lars Hofhansl (JIRA)" <ji...@apache.org> on 2012/07/07 08:25:34 UTC

[jira] [Commented] (HBASE-5261) Update HBase for Java 7

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

Lars Hofhansl commented on HBASE-5261:
--------------------------------------

I found that in order to build HBase with OpenJDK7 I need to make this change:
{code}
--- pom.xml     (revision 1358499)
+++ pom.xml     (working copy)
@@ -395,6 +395,9 @@
             <target>${compileSource}</target>
             <showWarnings>true</showWarnings>
             <showDeprecation>false</showDeprecation>
+            <compilerArguments>
+              <Xlint:-options/>
+            </compilerArguments>
           </configuration>
         </plugin>
{code}

That suppressed the following warning (which maven fails to parse and hence errors out):
bq. warning: [options] bootstrap class path not set in conjunction with -source 1.6

G1 is supposed to be viable from OpenJDK7u4 onwards.

                
> Update HBase for Java 7
> -----------------------
>
>                 Key: HBASE-5261
>                 URL: https://issues.apache.org/jira/browse/HBASE-5261
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Mikhail Bautin
>            Assignee: Mikhail Bautin
>
> We need to make sure that HBase compiles and works with JDK 7. Once we verify it is reasonably stable, we can explore utilizing the G1 garbage collector. When all deployments are ready to move to JDK 7, we can start using new language features, but in the transition period we will need to maintain a codebase that compiles both with JDK 6 and JDK 7.

--
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