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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user