Changed order of classloader fetching: defining classloader first, then TCCL