Program: 67151
Project: 67151
Buggy source:
/** 
 * INTERNAL:
 */
public MetadataLogger(AbstractSession session){
  m_session=session;
  m_ctxStrings=new HashMap();
  addContextString(OVERRIDE_ANNOTATION_WITH_XML);
  addContextString(OVERRIDE_NAMED_ANNOTATION_WITH_XML);
  addContextString(OVERRIDE_XML_WITH_ECLIPSELINK_XML);
  addContextString(OVERRIDE_NAMED_XML_WITH_ECLIPSELINK_XML);
  addContextString(IGNORE_ANNOTATION);
  addContextString(IGNORE_PRIVATE_OWNED_ANNOTATION);
  addContextString(IGNORE_RETURN_INSERT_ANNOTATION);
  addContextString(IGNORE_RETURN_UPDATE_ANNOTATION);
  addContextString(IGNORE_LOB);
  addContextString(IGNORE_TEMPORAL);
  addContextString(IGNORE_ENUMERATED);
  addContextString(IGNORE_SERIALIZED);
  addContextString(IGNORE_VERSION_LOCKING);
  addContextString(IGNORE_CACHEABLE_FALSE);
  addContextString(IGNORE_CACHEABLE_TRUE);
  addContextString(IGNORE_ATTRIBUTE_OVERRIDE);
  addContextString(IGNORE_ASSOCIATION_OVERRIDE);
  addContextString(IGNORE_INHERITANCE_SUBCLASS_CACHE);
  addContextString(IGNORE_INHERITANCE_SUBCLASS_CACHE_INTERCEPTOR);
  addContextString(IGNORE_INHERITANCE_SUBCLASS_DEFAULT_REDIRECTORS);
  addContextString(IGNORE_INHERITANCE_SUBCLASS_READ_ONLY);
  addContextString(IGNORE_MAPPED_SUPERCLASS_COPY_POLICY);
  addContextString(IGNORE_MAPPED_SUPERCLASS_ASSOCIATION_OVERRIDE);
  addContextString(IGNORE_MAPPED_SUPERCLASS_ATTRIBUTE_OVERRIDE);
  addContextString(IGNORE_MAPPED_SUPERCLASS_OPTIMISTIC_LOCKING);
  addContextString(IGNORE_MAPPED_SUPERCLASS_CACHE);
  addContextString(IGNORE_MAPPED_SUPERCLASS_CACHEABLE);
  addContextString(IGNORE_MAPPED_SUPERCLASS_CACHE_INTERCEPTOR);
  addContextString(IGNORE_MAPPED_SUPERCLASS_DEFAULT_REDIRECTORS);
  addContextString(IGNORE_MAPPED_SUPERCLASS_CHANGE_TRACKING);
  addContextString(IGNORE_MAPPED_SUPERCLASS_CUSTOMIZER);
  addContextString(IGNORE_MAPPED_SUPERCLASS_ID_CLASS);
  addContextString(IGNORE_MAPPED_SUPERCLASS_READ_ONLY);
  addContextString(IGNORE_MAPPED_SUPERCLASS_EXISTENCE_CHECKING);
  addContextString(ACCESS_TYPE);
  addContextString(ALIAS);
  addContextString(MAP_KEY_ATTRIBUTE_NAME);
  addContextString(TABLE_NAME);
  addContextString(TABLE_SCHEMA);
  addContextString(TABLE_CATALOG);
  addContextString(TABLE_GENERATOR_NAME);
  addContextString(TABLE_GENERATOR_SCHEMA);
  addContextString(TABLE_GENERATOR_CATALOG);
  addContextString(SEQUENCE_GENERATOR_SCHEMA);
  addContextString(SEQUENCE_GENERATOR_CATALOG);
  addContextString(JOIN_TABLE_NAME);
  addContextString(JOIN_TABLE_SCHEMA);
  addContextString(JOIN_TABLE_CATALOG);
  addContextString(SECONDARY_TABLE_NAME);
  addContextString(SECONDARY_TABLE_SCHEMA);
  addContextString(SECONDARY_TABLE_CATALOG);
  addContextString(COLLECTION_TABLE_NAME);
  addContextString(COLLECTION_TABLE_SCHEMA);
  addContextString(COLLECTION_TABLE_CATALOG);
  addContextString(CONVERTER_DATA_TYPE);
  addContextString(CONVERTER_OBJECT_TYPE);
  addContextString(COLUMN);
  addContextString(PK_COLUMN);
  addContextString(FK_COLUMN);
  addContextString(QK_COLUMN);
  addContextString(ORDER_COLUMN);
  addContextString(VALUE_COLUMN);
  addContextString(MAP_KEY_COLUMN);
  addContextString(SOURCE_PK_COLUMN);
  addContextString(SOURCE_FK_COLUMN);
  addContextString(TARGET_PK_COLUMN);
  addContextString(TARGET_FK_COLUMN);
  addContextString(VARIABLE_ONE_TO_ONE_DISCRIMINATOR_COLUMN);
  addContextString(INHERITANCE_DISCRIMINATOR_COLUMN);
  addContextString(INHERITANCE_PK_COLUMN);
  addContextString(INHERITANCE_FK_COLUMN);
  addContextString(SECONDARY_TABLE_PK_COLUMN);
  addContextString(SECONDARY_TABLE_FK_COLUMN);
  addContextString(ONE_TO_ONE_MAPPING);
  addContextString(ONE_TO_MANY_MAPPING);
  addContextString(VARIABLE_ONE_TO_ONE_MAPPING);
  addContextString(ONE_TO_ONE_MAPPING_REFERENCE_CLASS);
  addContextString(ONE_TO_MANY_MAPPING_REFERENCE_CLASS);
  addContextString(MANY_TO_ONE_MAPPING_REFERENCE_CLASS);
  addContextString(MANY_TO_MANY_MAPPING_REFERENCE_CLASS);
  addContextString(VARIABLE_ONE_TO_ONE_MAPPING_REFERENCE_CLASS);
  addContextString(ELEMENT_COLLECTION_MAPPING_REFERENCE_CLASS);
  addContextString(WARNING_INVALID_COLLECTION_USED_ON_LAZY_RELATION);
  addContextString(WARNING_INCORRECT_DISCRIMINATOR_FORMAT);
}

Fixed version (ground truth):
/** 
 * INTERNAL:
 */
public MetadataLogger(AbstractSession session){
  m_session=session;
  m_ctxStrings=new HashMap();
  addContextString(OVERRIDE_ANNOTATION_WITH_XML);
  addContextString(OVERRIDE_NAMED_ANNOTATION_WITH_XML);
  addContextString(OVERRIDE_XML_WITH_ECLIPSELINK_XML);
  addContextString(OVERRIDE_NAMED_XML_WITH_ECLIPSELINK_XML);
  addContextString(IGNORE_ANNOTATION);
  addContextString(IGNORE_PRIVATE_OWNED_ANNOTATION);
  addContextString(IGNORE_RETURN_INSERT_ANNOTATION);
  addContextString(IGNORE_RETURN_UPDATE_ANNOTATION);
  addContextString(IGNORE_LOB);
  addContextString(IGNORE_TEMPORAL);
  addContextString(IGNORE_ENUMERATED);
  addContextString(IGNORE_SERIALIZED);
  addContextString(IGNORE_VERSION_LOCKING);
  addContextString(IGNORE_CACHEABLE_FALSE);
  addContextString(IGNORE_CACHEABLE_TRUE);
  addContextString(IGNORE_ATTRIBUTE_OVERRIDE);
  addContextString(IGNORE_ASSOCIATION_OVERRIDE);
  addContextString(IGNORE_INHERITANCE_SUBCLASS_CACHE);
  addContextString(IGNORE_INHERITANCE_SUBCLASS_CACHE_INTERCEPTOR);
  addContextString(IGNORE_INHERITANCE_SUBCLASS_DEFAULT_REDIRECTORS);
  addContextString(IGNORE_INHERITANCE_SUBCLASS_READ_ONLY);
  addContextString(IGNORE_MAPPED_SUPERCLASS_COPY_POLICY);
  addContextString(IGNORE_MAPPED_SUPERCLASS_ASSOCIATION_OVERRIDE);
  addContextString(IGNORE_MAPPED_SUPERCLASS_ATTRIBUTE_OVERRIDE);
  addContextString(IGNORE_MAPPED_SUPERCLASS_OPTIMISTIC_LOCKING);
  addContextString(IGNORE_MAPPED_SUPERCLASS_CACHE);
  addContextString(IGNORE_MAPPED_SUPERCLASS_CACHEABLE);
  addContextString(IGNORE_MAPPED_SUPERCLASS_CACHE_INTERCEPTOR);
  addContextString(IGNORE_MAPPED_SUPERCLASS_DEFAULT_REDIRECTORS);
  addContextString(IGNORE_MAPPED_SUPERCLASS_CHANGE_TRACKING);
  addContextString(IGNORE_MAPPED_SUPERCLASS_CUSTOMIZER);
  addContextString(IGNORE_MAPPED_SUPERCLASS_ID_CLASS);
  addContextString(IGNORE_MAPPED_SUPERCLASS_READ_ONLY);
  addContextString(IGNORE_MAPPED_SUPERCLASS_EXISTENCE_CHECKING);
  addContextString(IGNORE_MAPPING_METADATA);
  addContextString(ACCESS_TYPE);
  addContextString(ALIAS);
  addContextString(MAP_KEY_ATTRIBUTE_NAME);
  addContextString(TABLE_NAME);
  addContextString(TABLE_SCHEMA);
  addContextString(TABLE_CATALOG);
  addContextString(TABLE_GENERATOR_NAME);
  addContextString(TABLE_GENERATOR_SCHEMA);
  addContextString(TABLE_GENERATOR_CATALOG);
  addContextString(SEQUENCE_GENERATOR_SCHEMA);
  addContextString(SEQUENCE_GENERATOR_CATALOG);
  addContextString(JOIN_TABLE_NAME);
  addContextString(JOIN_TABLE_SCHEMA);
  addContextString(JOIN_TABLE_CATALOG);
  addContextString(SECONDARY_TABLE_NAME);
  addContextString(SECONDARY_TABLE_SCHEMA);
  addContextString(SECONDARY_TABLE_CATALOG);
  addContextString(COLLECTION_TABLE_NAME);
  addContextString(COLLECTION_TABLE_SCHEMA);
  addContextString(COLLECTION_TABLE_CATALOG);
  addContextString(CONVERTER_DATA_TYPE);
  addContextString(CONVERTER_OBJECT_TYPE);
  addContextString(COLUMN);
  addContextString(PK_COLUMN);
  addContextString(FK_COLUMN);
  addContextString(QK_COLUMN);
  addContextString(ORDER_COLUMN);
  addContextString(VALUE_COLUMN);
  addContextString(MAP_KEY_COLUMN);
  addContextString(SOURCE_PK_COLUMN);
  addContextString(SOURCE_FK_COLUMN);
  addContextString(TARGET_PK_COLUMN);
  addContextString(TARGET_FK_COLUMN);
  addContextString(VARIABLE_ONE_TO_ONE_DISCRIMINATOR_COLUMN);
  addContextString(INHERITANCE_DISCRIMINATOR_COLUMN);
  addContextString(INHERITANCE_PK_COLUMN);
  addContextString(INHERITANCE_FK_COLUMN);
  addContextString(SECONDARY_TABLE_PK_COLUMN);
  addContextString(SECONDARY_TABLE_FK_COLUMN);
  addContextString(ONE_TO_ONE_MAPPING);
  addContextString(ONE_TO_MANY_MAPPING);
  addContextString(VARIABLE_ONE_TO_ONE_MAPPING);
  addContextString(ONE_TO_ONE_MAPPING_REFERENCE_CLASS);
  addContextString(ONE_TO_MANY_MAPPING_REFERENCE_CLASS);
  addContextString(MANY_TO_ONE_MAPPING_REFERENCE_CLASS);
  addContextString(MANY_TO_MANY_MAPPING_REFERENCE_CLASS);
  addContextString(VARIABLE_ONE_TO_ONE_MAPPING_REFERENCE_CLASS);
  addContextString(ELEMENT_COLLECTION_MAPPING_REFERENCE_CLASS);
  addContextString(WARNING_INVALID_COLLECTION_USED_ON_LAZY_RELATION);
  addContextString(WARNING_INCORRECT_DISCRIMINATOR_FORMAT);
}