https://kotlinlang.org logo
#reflect
Title
# reflect
g

Gabriel Machado

08/24/2018, 12:40 PM
Class.forName("kotlin.reflect.jvm.internal.ReflectionFactoryImpl")
is throwing
java.lang.VerifyError: Bad type on operand stack
, anyone know how to solve this?
c

codyoss

08/24/2018, 1:37 PM
Are you using
1.2.60
g

Gabriel Machado

08/24/2018, 1:41 PM
Solved, was using a old version of mockito-kotlin (which was depending upon reflection). On mockito-kotlin2, it works.
👍 1
1.2.61
14 Views