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

Sakthi commented on HBASE-22536:
--------------------------------

Thanks [~busbey]

> TestForeignExceptionSerialization fails when run on JDK11
> ---------------------------------------------------------
>
>                 Key: HBASE-22536
>                 URL: https://issues.apache.org/jira/browse/HBASE-22536
>             Project: HBase
>          Issue Type: Bug
>          Components: java
>            Reporter: Sakthi
>            Assignee: Sakthi
>            Priority: Minor
>              Labels: jdk11
>             Fix For: 3.0.0, 2.3.0, 2.2.1, 2.1.6
>
>         Attachments: hbase-22536.master.001.patch, 
> hbase-22536.master.002.patch
>
>
> When built on Java 8 and unit tests are run on Java 11, 
> TestForeignExceptionSerialization fails. A sample stacktrace:
> {code}
>  Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.546 s <<< 
> FAILURE! - in 
> org.apache.hadoop.hbase.errorhandling.TestForeignExceptionSerialization
> testRemoteFromLocal(org.apache.hadoop.hbase.errorhandling.TestForeignExceptionSerialization)
>  Time elapsed: 0.084 s <<< FAILURE!
> org.junit.internal.ArrayComparisonFailure: Local stack trace got corrupted: 
> arrays first differed at element [0]; expected: 
> java.lang.StackTraceElement<org.apache.hadoop.hbase.errorhandling.TestForeignExceptionSerialization.testRemoteFromLocal(TestForeignExceptionSerialization.java:73)>
>  but was: 
> java.lang.StackTraceElement<org.apache.hadoop.hbase.errorhandling.TestForeignExceptionSerialization.testRemoteFromLocal(TestForeignExceptionSerialization.java:73)>
> at 
> org.apache.hadoop.hbase.errorhandling.TestForeignExceptionSerialization.testRemoteFromLocal(TestForeignExceptionSerialization.java:78)
> Caused by: java.lang.AssertionError: expected: 
> java.lang.StackTraceElement<org.apache.hadoop.hbase.errorhandling.TestForeignExceptionSerialization.testRemoteFromLocal(TestForeignExceptionSerialization.java:73)>
>  but was: 
> java.lang.StackTraceElement<org.apache.hadoop.hbase.errorhandling.TestForeignExceptionSerialization.testRemoteFromLocal(TestForeignExceptionSerialization.java:73)>
> at 
> org.apache.hadoop.hbase.errorhandling.TestForeignExceptionSerialization.testRemoteFromLocal(TestForeignExceptionSerialization.java:78){code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to