Buggy code:
public class RuntimeVisibleAnnotationAttributeTest extends BcelTestCase { protected void setUp ( ) throws Exception { } public void testSeeAnnotationsAsAttribute ( ) throws ClassNotFoundException { } public void testAnnotationsAttributeContainsRightData ( ) throws ClassNotFoundException { } public void testAccessingAnnotationsOnClazz ( ) throws ClassNotFoundException { } public void testReadingWritingAnnotations ( ) throws IOException , ClassNotFoundException { } public void testAnnotationStringElement ( ) throws ClassNotFoundException { } public void testAnnotationStringElementReadWrite ( ) throws IOException , ClassNotFoundException { } private void verifyAnnotationStringElement ( JavaClass clazz ) { } public void testComplexAnnotation ( ) throws ClassNotFoundException { } public void testComplexAnnotationsReadWrite ( ) throws IOException , ClassNotFoundException { } private void verifyComplexAnnotation ( JavaClass clazz ) { Annotation [ ] anns = clazz . getAnnotations ( ) ; assertTrue ( ( "Should<seq2seq4repair_space>be<seq2seq4repair_space>one<seq2seq4repair_space>annotation<seq2seq4repair_space>but<seq2seq4repair_space>found<seq2seq4repair_space>" + ( anns . length ) ) , ( ( anns . length ) == 1 ) ) ; Annotation ann = anns [ 0 ] ; assertTrue ( ( "Should<seq2seq4repair_space>be<seq2seq4repair_space>called<seq2seq4repair_space>'ComplexAnnotation'<seq2seq4repair_space>but<seq2seq4repair_space>was<seq2seq4repair_space>called<seq2seq4repair_space>" + ( ann . getTypeName ( ) ) ) , ann . getTypeName ( ) . equals ( "ComplexAnnotation" ) ) ; List l = ann . getValues ( ) ; assertTrue ( ( "Should<seq2seq4repair_space>be<seq2seq4repair_space>eight<seq2seq4repair_space>values<seq2seq4repair_space>for<seq2seq4repair_space>annotation<seq2seq4repair_space>'ComplexAnnotation'<seq2seq4repair_space>but<seq2seq4repair_space>found<seq2seq4repair_space>" + ( l . size ( ) ) ) , ( ( l . size ( ) ) == 8 ) ) ; List names = Utility . getListOfAnnotationNames ( ann ) ; assertTrue ( "Cant<seq2seq4repair_space>find<seq2seq4repair_space>expected<seq2seq4repair_space>element<seq2seq4repair_space>" , names . contains ( "ival" ) ) ; assertTrue ( "Cant<seq2seq4repair_space>find<seq2seq4repair_space>expected<seq2seq4repair_space>element<seq2seq4repair_space>" , names . contains ( "dval" ) ) ; assertTrue ( "Cant<seq2seq4repair_space>find<seq2seq4repair_space>expected<seq2seq4repair_space>element<seq2seq4repair_space>" , names . contains ( "zval" ) ) ; assertTrue ( "Cant<seq2seq4repair_space>find<seq2seq4repair_space>expected<seq2seq4repair_space>element<seq2seq4repair_space>" , names . contains ( "fval" ) ) ; assertTrue ( "Cant<seq2seq4repair_space>find<seq2seq4repair_space>expected<seq2seq4repair_space>element<seq2seq4repair_space>" , names . contains ( "jval" ) ) ; assertTrue ( "Cant<seq2seq4repair_space>find<seq2seq4repair_space>expected<seq2seq4repair_space>element<seq2seq4repair_space>" , names . contains ( "sval" ) ) ; assertTrue ( "Cant<seq2seq4repair_space>find<seq2seq4repair_space>expected<seq2seq4repair_space>element<seq2seq4repair_space>" , names . contains ( "bval" ) ) ; assertTrue ( "Cant<seq2seq4repair_space>find<seq2seq4repair_space>expected<seq2seq4repair_space>element<seq2seq4repair_space>" , names . contains ( "cval" ) ) ; checkValue ( ann , "ival" , "4" ) ; checkValue ( ann , "jval" , "56" ) ; checkValue ( ann , "fval" , "3.0" ) ; checkValue ( ann , "dval" , "33.4" ) ; checkValue ( ann , "sval" , "99" ) ; checkValue ( ann , "bval" , "2" ) ; <START_BUG> checkValue ( ann , "cval" , "5" ) ; <END_BUG> checkValue ( ann , "zval" , "false" ) ; } private void checkValue ( Annotation a , String name , String tostring ) { } public void testAnnotationClassElement ( ) throws ClassNotFoundException { } public void testAnnotationClassElementCopying ( ) throws ClassNotFoundException { } public void testAnnotationClassElementReadWrite ( ) throws IOException , ClassNotFoundException { } private void verifyClassAnnotation ( JavaClass clazz ) { } public void testAnnotationEnumElement ( ) throws ClassNotFoundException { } public void testAnnotationEnumElementReadWrite ( ) throws IOException , ClassNotFoundException { } public void verifyAnnotationEnumElement ( JavaClass clazz ) { } public void testAnnotationArraysOfAnnotations ( ) throws ClassNotFoundException { } public void testAnnotationArraysOfAnnotationsReadWrite ( ) throws IOException , ClassNotFoundException { } private void checkCombinedAnnotation ( Annotation ann ) { } protected void tearDown ( ) throws Exception { } }

Fix:
checkValue ( ann , "cval" , new Character ( '5' ) . toString ( ) ) ;