assertEquals("test.compiler.validation.IntAnnoTarget:16 @test.compiler.validation.ValidationTest$IntAnno in source file [test/compiler/validation/IntAnnoTarget.class]", MESSAGE_HANDLER.acceptedLocations.get(0).toString() ); assertEquals("test.compiler.validation.IntAnnoTarget:22 @test.compiler.validation.ValidationTest$IntAnno in source file [test/compiler/validation/IntAnnoTarget.class]", MESSAGE_HANDLER.acceptedLocations.get(1).toString() ); assertEquals("test.compiler.validation.IntAnnoTarget:28 @test.compiler.validation.ValidationTest$IntAnno in source file [test/compiler/validation/IntAnnoTarget.class]", MESSAGE_HANDLER.acceptedLocations.get(2).toString() );
    public void testInt() {        MESSAGE_HANDLER.flush();        AnnotationC.compile(                new String[]{},                new String[]{SOURCE_DIR + "IntAnnoTarget.java"},                new String[]{CLASSPATH},                CLASSPATH,                new String[]{},                MESSAGE_HANDLER        );        assertEquals(1, MESSAGE_HANDLER.compilerExceptions.size());        assertEquals(3, MESSAGE_HANDLER.acceptedLocations.size());        assertEquals("org.codehaus.backport175.compiler.parser.AnnotationValidationException: value [value] in annotation [test.compiler.validation.ValidationTest$IntAnno] does not have correct type: expected [int] was [java.lang.Class]",                     MESSAGE_HANDLER.compilerExceptions.get(0).toString());        assertEquals("test.compiler.validation.IntAnnoTarget:16 @test.compiler.validation.ValidationTest$IntAnno in source file [test/compiler/validation/IntAnnoTarget.class]",                    MESSAGE_HANDLER.acceptedLocations.get(0).toString()        );        assertEquals("test.compiler.validation.IntAnnoTarget:22 @test.compiler.validation.ValidationTest$IntAnno in source file [test/compiler/validation/IntAnnoTarget.class]",                    MESSAGE_HANDLER.acceptedLocations.get(1).toString()        );        assertEquals("test.compiler.validation.IntAnnoTarget:28 @test.compiler.validation.ValidationTest$IntAnno in source file [test/compiler/validation/IntAnnoTarget.class]",                    MESSAGE_HANDLER.acceptedLocations.get(2).toString()        );    }