This check is unnecessary. SystemDictionary::load_shared_class() should not be called with a NULL class
http://hg.openjdk.java.net/jdk/jdk/file/ee37c9b2eb61/src/hotspot/share/classfile/systemDictionary.cpp#l1272
InstanceKlass* SystemDictionary::load_shared_class(InstanceKlass* ik,
Handle class_loader,
Handle protection_domain,
const ClassFileStream *cfs,
TRAPS) {
if (ik != NULL) { // <<<< remove!
http://hg.openjdk.java.net/jdk/jdk/file/ee37c9b2eb61/src/hotspot/share/classfile/systemDictionary.cpp#l1272
InstanceKlass* SystemDictionary::load_shared_class(InstanceKlass* ik,
Handle class_loader,
Handle protection_domain,
const ClassFileStream *cfs,
TRAPS) {
if (ik != NULL) { // <<<< remove!