Program: 7885
Project: 7885
Buggy source:
private static File createDeploymentJar(Class<?> clz,ApplicationSpecification appSpec){
  File testAppDir;
  File tmpDir;
  testAppDir=Files.createTempDir();
  File outputDir=new File(testAppDir,"String_Node_Str");
  tmpDir=new File(testAppDir,"String_Node_Str");
  outputDir.mkdirs();
  tmpDir.mkdirs();
  Manifest manifest=new Manifest();
  manifest.getMainAttributes().put(ManifestFields.MANIFEST_VERSION,"String_Node_Str");
  manifest.getMainAttributes().put(ManifestFields.MAIN_CLASS,clz.getName());
  ClassLoader loader=clz.getClassLoader();
  Preconditions.checkArgument(loader != null,"String_Node_Str" + clz);
  String classFile=clz.getName().replace('.','/') + "String_Node_Str";
  try {
    for (Enumeration<URL> itr=loader.getResources(classFile); itr.hasMoreElements(); ) {
      URI uri=itr.nextElement().toURI();
      if (uri.getScheme().equals("String_Node_Str")) {
        File baseDir=new File(uri).getParentFile();
        Package appPackage=clz.getPackage();
        String packagePath=appPackage == null ? "String_Node_Str" : appPackage.getName().replace('.','/');
        String basePath=baseDir.getAbsolutePath();
        File relativeBase=new File(basePath.substring(0,basePath.length() - packagePath.length()));
        File jarFile=File.createTempFile(String.format("String_Node_Str",clz.getSimpleName(),System.currentTimeMillis()),"String_Node_Str",tmpDir);
        return jarDir(baseDir,relativeBase,manifest,jarFile,appSpec);
      }
 else       if (uri.getScheme().equals("String_Node_Str")) {
        return new File(uri.getPath());
      }
    }
  }
 catch (  Exception e) {
    throw Throwables.propagate(e);
  }
  return null;
}

Fixed version (ground truth):
private static File createDeploymentJar(Class<?> clz,ApplicationSpecification appSpec){
  File testAppDir;
  File tmpDir;
  testAppDir=Files.createTempDir();
  File outputDir=new File(testAppDir,"String_Node_Str");
  tmpDir=new File(testAppDir,"String_Node_Str");
  outputDir.mkdirs();
  tmpDir.mkdirs();
  Manifest manifest=new Manifest();
  manifest.getMainAttributes().put(ManifestFields.MANIFEST_VERSION,"String_Node_Str");
  manifest.getMainAttributes().put(ManifestFields.MAIN_CLASS,clz.getName());
  ClassLoader loader=clz.getClassLoader();
  Preconditions.checkArgument(loader != null,"String_Node_Str" + clz);
  String classFile=clz.getName().replace('.','/') + "String_Node_Str";
  try {
    for (Enumeration<URL> itr=loader.getResources(classFile); itr.hasMoreElements(); ) {
      URI uri=itr.nextElement().toURI();
      if (uri.getScheme().equals("String_Node_Str")) {
        File baseDir=new File(uri).getParentFile();
        Package appPackage=clz.getPackage();
        String packagePath=appPackage == null ? "String_Node_Str" : appPackage.getName().replace('.','/');
        String basePath=baseDir.getAbsolutePath();
        File relativeBase=new File(basePath.substring(0,basePath.length() - packagePath.length()));
        File jarFile=File.createTempFile(String.format("String_Node_Str",clz.getSimpleName(),System.currentTimeMillis()),"String_Node_Str",tmpDir);
        return jarDir(baseDir,relativeBase,manifest,jarFile,appSpec);
      }
 else       if (uri.getScheme().equals("String_Node_Str")) {
        String rawSchemeSpecificPart=uri.getRawSchemeSpecificPart();
        if (rawSchemeSpecificPart.startsWith("String_Node_Str") && rawSchemeSpecificPart.contains("String_Node_Str")) {
          String[] parts=rawSchemeSpecificPart.substring("String_Node_Str".length()).split("String_Node_Str");
          return new File(parts[0]);
        }
 else {
          return new File(uri.getPath());
        }
      }
    }
  }
 catch (  Exception e) {
    throw Throwables.propagate(e);
  }
  return null;
}