@@ -0,0 +1,1835 @@
+package com.fasterxml.jackson.failing;%0A%0Aimport java.io.IOException;%0Aimport java.util.*;%0A%0Aimport com.fasterxml.jackson.annotation.*;%0Aimport com.fasterxml.jackson.core.JsonGenerator;%0Aimport com.fasterxml.jackson.databind.*;%0Aimport com.fasterxml.jackson.databind.annotation.JsonSerialize;%0Aimport com.fasterxml.jackson.databind.ser.std.StdScalarSerializer;%0A%0A// for %5Bdatabind#1124%5D%0Apublic class AnyGetter1124Test extends BaseMapTest%0A%7B%0A    static class Bean1124%0A    %7B%0A        protected Map%3CString,String%3E additionalProperties;%0A%0A        public void addAdditionalProperty(String key, String value) %7B%0A            if (additionalProperties == null) %7B%0A                additionalProperties = new HashMap%3C%3E();%0A            %7D%0A            additionalProperties.put(key,value);%0A        %7D%0A        %0A        public void setAdditionalProperties(Map%3CString, String%3E additionalProperties) %7B%0A            this.additionalProperties = additionalProperties;%0A        %7D%0A%0A        @JsonAnyGetter%0A        @JsonSerialize(contentUsing=MyUCSerializer.class)%0A        public Map%3CString,String%3E getAdditionalProperties() %7B return additionalProperties; %7D%0A    %7D%0A%0A    @SuppressWarnings(%22serial%22)%0A    static class MyUCSerializer extends StdScalarSerializer%3CString%3E%0A    %7B%0A        public MyUCSerializer() %7B super(String.class); %7D%0A%0A        @Override%0A        public void serialize(String value, JsonGenerator gen,%0A                SerializerProvider provider) throws IOException %7B%0A            gen.writeString(value.toUpperCase());%0A        %7D%0A    %7D%0A    %0A    public void testAnyGetterWithValueSerializer() throws Exception%0A    %7B%0A        ObjectMapper mapper = new ObjectMapper();%0A        Bean1124 input = new Bean1124();%0A        input.addAdditionalProperty(%22key%22, %22value%22);%0A        String json = mapper.writeValueAsString(input);%0A        assertEquals(%22%7B%5C%22key%5C%22:%5C%22VALUE%5C%22%7D%22, json);%0A    %7D%0A%7D%0A

Add unit test for #1124