hbase-issues mailing list archives

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

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

Colm O hEigeartaigh commented on HBASE-17944:
---------------------------------------------

Good point! I have updated the patch just to throw the RuntimeException if the version is
null.

> 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