Fix KotlinReflectionInternalError on encountering 'clone' in a class
`RuntimeTypeMapper.mapSignature` threw exception because the descriptor for `clone` was created manually in CloneableClassScope and therefore it didn't have a JVM signature as in deserialized descriptors, and wasn't recognized as a Java method either. #KT-22923 Fixed
This commit is contained in:
@@ -28,6 +28,6 @@ class CloneableClassScope(
|
||||
)
|
||||
|
||||
companion object {
|
||||
internal val CLONE_NAME = Name.identifier("clone")
|
||||
val CLONE_NAME = Name.identifier("clone")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user