This Mockito error has not occurred when using `1....
# announcements
c
This Mockito error has not occurred when using
1.1.3-2
(or earlier versions, for that matter). It seems that the
1.1.4
compiler does something unusual with the bytecode. Notice the warning:
Copy code
Byte Buddy could not instrument all classes within the mock's type hierarchy

This problem should never occur for javac-compiled classes. This problem has been observed for classes that are:
 - Compiled by older versions of scalac
 - Classes that are part of the Android distribution
e
The compilation strategy for named suspending function has changed and the resulting bytecode is causing problems with ByteBuddy. See discussion here: https://github.com/mockito/mockito/issues/1152
k
Is this definitely a Mockito bug then? Do I just need to disable these tests until a Mockito version with a fix is available?
or stay on Kotlin 1.1.3