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

TisonKun commented on FLINK-11156:
----------------------------------

I guess it is an issue about mockito/powermock on JDK 9+?

> ZooKeeperCompletedCheckpointStoreMockitoTest fails with 
> IncompatibleClassChangeError
> ------------------------------------------------------------------------------------
>
>                 Key: FLINK-11156
>                 URL: https://issues.apache.org/jira/browse/FLINK-11156
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Tests
>    Affects Versions: 1.8.0
>            Reporter: Gary Yao
>            Assignee: TisonKun
>            Priority: Major
>             Fix For: 1.8.0
>
>
> {noformat}
> java.lang.IncompatibleClassChangeError: Method 
> java.util.Comparator.comparing(Ljava/util/function/Function;)Ljava/util/Comparator;
>  must be InterfaceMethodref constant
>       at 
> org.apache.flink.runtime.checkpoint.ZooKeeperCompletedCheckpointStore.<clinit>(ZooKeeperCompletedCheckpointStore.java:74)
>       at java.base/java.lang.Class.forName0(Native Method)
>       at java.base/java.lang.Class.forName(Class.java:292)
>       at javassist.runtime.Desc.getClassObject(Desc.java:43)
>       at javassist.runtime.Desc.getClassType(Desc.java:152)
>       at javassist.runtime.Desc.getType(Desc.java:122)
>       at javassist.runtime.Desc.getType(Desc.java:78)
>       at 
> org.apache.flink.runtime.checkpoint.ZooKeeperCompletedCheckpointStoreMockitoTest.testCheckpointRecovery(ZooKeeperCompletedCheckpointStoreMockitoTest.java:175)
>       at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>       at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.base/java.lang.reflect.Method.invoke(Method.java:564)
>       at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:68)
>       at 
> org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl$PowerMockJUnit44MethodRunner.runTestMethod(PowerMockJUnit44RunnerDelegateImpl.java:326)
>       at 
> org.junit.internal.runners.MethodRoadie$1$1.call(MethodRoadie.java:64)
>       at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
>       at 
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
>       at 
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
>       at java.base/java.lang.Thread.run(Thread.java:844)
> {noformat}



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

Reply via email to