[
https://issues.apache.org/jira/browse/HBASE-22534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16856358#comment-16856358
]
Hudson commented on HBASE-22534:
--------------------------------
Results for branch branch-2
[build #1964 on
builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/1964/]:
(x) *{color:red}-1 overall{color}*
----
details (if available):
(/) {color:green}+1 general checks{color}
-- For more information [see general
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/1964//General_Nightly_Build_Report/]
(x) {color:red}-1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2)
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/1964//JDK8_Nightly_Build_Report_(Hadoop2)/]
(x) {color:red}-1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3)
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/1964//JDK8_Nightly_Build_Report_(Hadoop3)/]
(/) {color:green}+1 source release artifact{color}
-- See build output for details.
(x) {color:red}-1 client integration test{color}
--Failed when running client tests on top of Hadoop 3. [see log for
details|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/1964//artifact/output-integration/hadoop-3.log].
(note that this means we didn't check the Hadoop 3 shaded client)
> TestCellUtil fails when run on JDK11
> ------------------------------------
>
> Key: HBASE-22534
> URL: https://issues.apache.org/jira/browse/HBASE-22534
> Project: HBase
> Issue Type: Bug
> Components: java, test
> Reporter: Sakthi
> Assignee: Sakthi
> Priority: Minor
> Labels: jdk11
> Fix For: 3.0.0, 2.3.0, 2.2.1, 2.1.6
>
> Attachments: hbase-22534.master.001.patch
>
>
> When built on Java 8 and unit tests are run on Java 11, TestCellUtil fails. A
> sample stacktrace:
> {code}
> Tests run: 10, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.096 s <<<
> FAILURE! - in org.apache.hadoop.hbase.TestCellUtil
> testGetType(org.apache.hadoop.hbase.TestCellUtil) Time elapsed: 0.544 s <<<
> ERROR!
> org.mockito.exceptions.base.MockitoException:
> Cannot call abstract real method on java object!
> Calling real methods is only possible when mocking non abstract method.
> //correct example:
> when(mockOfConcreteClass.nonAbstractMethod()).thenCallRealMethod();
> at
> org.apache.hadoop.hbase.TestCellUtil.testGetType(TestCellUtil.java:543){code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)