bootstrap/src/main/java/com/streamsets/pipeline/BlackListURLClassLoader.java
void validateResource(String name) {
    for (String blacklistedPackage : blacklistedDirs) {
      if (name.startsWith(blacklistedPackage)) {
        throw new IllegalArgumentException(String.format("Resource '%s' cannot be present in %s",
                                                         name, toString()));
      }
    }
  }
void validateResource(String name) {
    for (String blacklistedPackage : blacklistedDirs) {
      if (name.startsWith(blacklistedPackage)) {
        throw new IllegalArgumentException(String.format("Resource '%s' cannot be present in %s",
                                                         name, toString()));
      }
    }
  }
void validateResource ( String name ) { for ( String blacklistedPackage : blacklistedDirs ) { if ( name . startsWith ( blacklistedPackage ) ) { throw new IllegalArgumentException ( String . format ( "Resource '%s' cannot be present in %s" , name , toString ( ) ) ) ; } } }
Visible for testing only
Visible for testing only