HADOOP-11211. mapreduce.job.classloader.system.classes semantics should be order-independent. (Yitong Zhou via gera)

(cherry picked from commit 0bcea111e5daa9a4315346cf6919a4cfc8d90e0d)