You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2017/04/20 16:15:04 UTC

[jira] [Commented] (HBASE-17944) ClassSize fails with Java 9

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

Ted Yu commented on HBASE-17944:
--------------------------------

{code}
140	    } else if (version != null && version.startsWith("9")) {
141	      JDK7 = false;
{code}
What if Java 10 rolls out :-)

> ClassSize fails with Java 9
> ---------------------------
>
>                 Key: HBASE-17944
>                 URL: https://issues.apache.org/jira/browse/HBASE-17944
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Colm O hEigeartaigh
>             Fix For: 2.0.0, 1.1.10, 1.2.6, 1.3.2
>
>         Attachments: 0001-HBASE-17944-ClassSize-fails-with-Java-9.patch
>
>
> ClassSize fails when run with Java 9. The static block assumes that the java version contains "." which is not necessarily the case with Java 9:
> Caused by: java.lang.RuntimeException: Unexpected version format: 9-ea
> 	at org.apache.hadoop.hbase.util.ClassSize.<clinit>(ClassSize.java:119)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)