hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-17944) ClassSize fails with Java 9
Date Thu, 20 Apr 2017 16:15:04 GMT

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

Mime
View raw message