A JVM question: given `open class Parent` and `cla...
# multiplatform
n
A JVM question: given
open class Parent
and
class Child : Parent
, is it ever possible in Kotlin that
child::class.java
returns the Parent class? For example if ::class is called inside the constructor and the child class has not been totally "loaded" yet. I can't reproduce it and it would be very weird, but I am getting rare crash reports that seems to suggest this, e.g.
child::class.java.name == "Parent"