Program: 34390
Project: 34390
Buggy source:
public void testGetFileForInput(){
  CachingFileManager fm=new CachingFileManager(CachingArchiveProvider.getDefault(),bCp,Source.JDK1_8,false,true);
  JavaFileObject res=(JavaFileObject)fm.getFileForInput(StandardLocation.CLASS_PATH,"String_Node_Str","String_Node_Str");
  assertEquals(Arrays.asList("String_Node_Str"),toContent(Collections.<JavaFileObject>singleton(res)));
  assertEquals(Arrays.asList("String_Node_Str"),toInferedName(fm,Collections.<JavaFileObject>singleton(res)));
  fm=new CachingFileManager(CachingArchiveProvider.getDefault(),mvCp,Source.JDK1_8,false,true);
  res=(JavaFileObject)fm.getFileForInput(StandardLocation.CLASS_PATH,"String_Node_Str","String_Node_Str");
  assertEquals(Arrays.asList("String_Node_Str"),toContent(Collections.<JavaFileObject>singleton(res)));
  assertEquals(Arrays.asList("String_Node_Str"),toInferedName(fm,Collections.<JavaFileObject>singleton(res)));
  fm=new CachingFileManager(CachingArchiveProvider.getDefault(),bCp,Source.JDK1_9,false,true);
  res=(JavaFileObject)fm.getFileForInput(StandardLocation.CLASS_PATH,"String_Node_Str","String_Node_Str");
  assertEquals(Arrays.asList("String_Node_Str"),toContent(Collections.<JavaFileObject>singleton(res)));
  assertEquals(Arrays.asList("String_Node_Str"),toInferedName(fm,Collections.<JavaFileObject>singleton(res)));
  fm=new CachingFileManager(CachingArchiveProvider.getDefault(),mvCp,Source.JDK1_9,false,true);
  res=(JavaFileObject)fm.getFileForInput(StandardLocation.CLASS_PATH,"String_Node_Str","String_Node_Str");
  assertEquals(Arrays.asList("String_Node_Str"),toContent(Collections.<JavaFileObject>singleton(res)));
  assertEquals(Arrays.asList("String_Node_Str"),toInferedName(fm,Collections.<JavaFileObject>singleton(res)));
}

Fixed version (ground truth):
public void testGetFileForInput(){
  CachingFileManager fm=new CachingFileManager(CachingArchiveProvider.getDefault(),bCp,SourceLevelUtils.JDK1_8,false,true);
  JavaFileObject res=(JavaFileObject)fm.getFileForInput(StandardLocation.CLASS_PATH,"String_Node_Str","String_Node_Str");
  assertEquals(Arrays.asList("String_Node_Str"),toContent(Collections.<JavaFileObject>singleton(res)));
  assertEquals(Arrays.asList("String_Node_Str"),toInferedName(fm,Collections.<JavaFileObject>singleton(res)));
  fm=new CachingFileManager(CachingArchiveProvider.getDefault(),mvCp,SourceLevelUtils.JDK1_8,false,true);
  res=(JavaFileObject)fm.getFileForInput(StandardLocation.CLASS_PATH,"String_Node_Str","String_Node_Str");
  assertEquals(Arrays.asList("String_Node_Str"),toContent(Collections.<JavaFileObject>singleton(res)));
  assertEquals(Arrays.asList("String_Node_Str"),toInferedName(fm,Collections.<JavaFileObject>singleton(res)));
  fm=new CachingFileManager(CachingArchiveProvider.getDefault(),bCp,SourceLevelUtils.JDK1_9,false,true);
  res=(JavaFileObject)fm.getFileForInput(StandardLocation.CLASS_PATH,"String_Node_Str","String_Node_Str");
  assertEquals(Arrays.asList("String_Node_Str"),toContent(Collections.<JavaFileObject>singleton(res)));
  assertEquals(Arrays.asList("String_Node_Str"),toInferedName(fm,Collections.<JavaFileObject>singleton(res)));
  fm=new CachingFileManager(CachingArchiveProvider.getDefault(),mvCp,SourceLevelUtils.JDK1_9,false,true);
  res=(JavaFileObject)fm.getFileForInput(StandardLocation.CLASS_PATH,"String_Node_Str","String_Node_Str");
  assertEquals(Arrays.asList("String_Node_Str"),toContent(Collections.<JavaFileObject>singleton(res)));
  assertEquals(Arrays.asList("String_Node_Str"),toInferedName(fm,Collections.<JavaFileObject>singleton(res)));
}