Parent class loader may not have a referred ClassLoaderData instance when obtained in Klass::class_in_module_of_loader method. This situation triggers assertions in debug builds and crashes the JVM with a null dereferencing in release builds. ClassLoaderData instance may be null if, for instance, the class loader never defined a class.
|