Fix class loader visibility issue in JAR loading.