use parent classLoader if classLoader is undefined