@@ -186,12 +186,11 @@ instance = malloc(PRE_IVAR_ALIGN + instanceSize + extraAlignment + extraSize); if OF_UNLIKELY (instance == nil) { - object_setClass((id)&alloc_failed_exception, - [OFAllocFailedException class]); + alloc_failed_exception.isa = [OFAllocFailedException class]; @throw (id)&alloc_failed_exception; } ((struct pre_ivar*)instance)->retainCount = 1; ((struct pre_ivar*)instance)->firstMem = NULL;