Use proper type constructor in eval4j

ASM 7 changes default behavior for 'getTypeInternal' (was 'getType') method.
 Now it's throwing exception instead of create 'METHOD' Type.
 Old behavior was equals to 'Type.getMethodType("<invalid>")'

 #KT-27833 Fixed
This commit is contained in:
Mikhael Bogdanov
2018-10-30 12:36:48 +01:00
parent f995afd50d
commit 98fa26c2d8
+1 -1
View File
@@ -28,7 +28,7 @@ interface Value : org.jetbrains.org.objectweb.asm.tree.analysis.Value {
}
object NOT_A_VALUE: Value {
override val asmType = Type.getType("<invalid>")
override val asmType = Type.getObjectType("<invalid>")
override val valid = false
override fun getSize(): Int = 1