No. It's better like this because ArtifactClassLoader has a getClassLoader()