6760902: inconsistent behavior in system class loader for classes and resourcesReviewed-by: psandoz, ksrini