I agree, but this commit doesn't change the previous situation. It only adds the check "isValidWeakMetaClass" to this particular method (getMetaClassForClass).