Program: 67860
Project: 67860
Buggy source:
public void testConversionFromObjectWithSchemaType() throws Exception {
  XMLGregorianCalendar aCal=DatatypeFactory.newInstance().newXMLGregorianCalendar();
  aCal.setYear(2009);
  aCal.setMonth(2);
  aCal.setDay(17);
  aCal.setHour(07);
  aCal.setMinute(30);
  aCal.setSecond(0);
  aCal.setMillisecond(0);
  aCal.setTimezone(+180);
  String testString;
  String gDayString="String_Node_Str";
  String gMonthString16="String_Node_Str";
  String gMonthString15="String_Node_Str";
  String gMonthDayString="String_Node_Str";
  String gYearString="String_Node_Str";
  String gYearMonthString="String_Node_Str";
  String dateString="String_Node_Str";
  String timeString="String_Node_Str";
  String dateTimeString="String_Node_Str";
  testString=(String)getXmlConversionManager().convertObject(aCal,String.class,XMLConstants.G_DAY_QNAME);
  assertEquals("String_Node_Str",gDayString,testString);
  testString=(String)getXmlConversionManager().convertObject(aCal,String.class,XMLConstants.G_MONTH_QNAME);
  if (System.getProperty("String_Node_Str").startsWith("String_Node_Str")) {
    assertEquals("String_Node_Str",gMonthString15,testString);
  }
 else {
    assertEquals("String_Node_Str",gMonthString16,testString);
  }
  testString=(String)getXmlConversionManager().convertObject(aCal,String.class,XMLConstants.G_MONTH_DAY_QNAME);
  assertEquals("String_Node_Str",gMonthDayString,testString);
  testString=(String)getXmlConversionManager().convertObject(aCal,String.class,XMLConstants.G_YEAR_QNAME);
  assertEquals("String_Node_Str",gYearString,testString);
  testString=(String)getXmlConversionManager().convertObject(aCal,String.class,XMLConstants.G_YEAR_MONTH_QNAME);
  assertEquals("String_Node_Str",gYearMonthString,testString);
  testString=(String)getXmlConversionManager().convertObject(aCal,String.class,XMLConstants.DATE_QNAME);
  assertEquals("String_Node_Str",dateString,testString);
  testString=(String)getXmlConversionManager().convertObject(aCal,String.class,XMLConstants.TIME_QNAME);
  assertEquals("String_Node_Str",timeString,testString);
  testString=(String)getXmlConversionManager().convertObject(aCal,String.class,XMLConstants.DATE_TIME_QNAME);
  assertEquals("String_Node_Str",dateTimeString,testString);
}

Fixed version (ground truth):
public void testConversionFromObjectWithSchemaType() throws Exception {
  XMLGregorianCalendar aCal=DatatypeFactory.newInstance().newXMLGregorianCalendar();
  aCal.setYear(2009);
  aCal.setMonth(2);
  aCal.setDay(17);
  aCal.setHour(07);
  aCal.setMinute(30);
  aCal.setSecond(0);
  aCal.setMillisecond(0);
  aCal.setTimezone(+180);
  String testString;
  String gDayString="String_Node_Str";
  String gMonthString="String_Node_Str";
  String gMonthDayString="String_Node_Str";
  String gYearString="String_Node_Str";
  String gYearMonthString="String_Node_Str";
  String dateString="String_Node_Str";
  String timeString="String_Node_Str";
  String dateTimeString="String_Node_Str";
  testString=(String)getXmlConversionManager().convertObject(aCal,String.class,XMLConstants.G_DAY_QNAME);
  assertEquals("String_Node_Str",gDayString,testString);
  testString=(String)getXmlConversionManager().convertObject(aCal,String.class,XMLConstants.G_MONTH_QNAME);
  assertEquals("String_Node_Str",gMonthString,testString);
  testString=(String)getXmlConversionManager().convertObject(aCal,String.class,XMLConstants.G_MONTH_DAY_QNAME);
  assertEquals("String_Node_Str",gMonthDayString,testString);
  testString=(String)getXmlConversionManager().convertObject(aCal,String.class,XMLConstants.G_YEAR_QNAME);
  assertEquals("String_Node_Str",gYearString,testString);
  testString=(String)getXmlConversionManager().convertObject(aCal,String.class,XMLConstants.G_YEAR_MONTH_QNAME);
  assertEquals("String_Node_Str",gYearMonthString,testString);
  testString=(String)getXmlConversionManager().convertObject(aCal,String.class,XMLConstants.DATE_QNAME);
  assertEquals("String_Node_Str",dateString,testString);
  testString=(String)getXmlConversionManager().convertObject(aCal,String.class,XMLConstants.TIME_QNAME);
  assertEquals("String_Node_Str",timeString,testString);
  testString=(String)getXmlConversionManager().convertObject(aCal,String.class,XMLConstants.DATE_TIME_QNAME);
  assertEquals("String_Node_Str",dateTimeString,testString);
}