[ClassLoader] tiny refactoring

test pass: yes
bc break: no