@@ -0,0 +1,830 @@
+package com.fasterxml.jackson.failing;%0A%0Aimport java.util.*;%0A%0Aimport com.fasterxml.jackson.annotation.JsonProperty;%0Aimport com.fasterxml.jackson.databind.*;%0A%0Apublic class ReadOnlyDeser1382Test extends BaseMapTest%0A%7B%0A    static class Foo %7B%0A        @JsonProperty(access = JsonProperty.Access.READ_ONLY)%0A        private List%3CLong%3E list = new ArrayList%3C%3E();%0A%0A        List%3CLong%3E getList() %7B%0A            return list;%0A        %7D%0A%0A        public Foo setList(List%3CLong%3E list) %7B%0A            this.list = list;%0A            return this;%0A        %7D%0A    %7D%0A%0A    public void testReadOnly() throws Exception%0A    %7B%0A        final ObjectMapper mapper = new ObjectMapper();%0A        String payload = %22%7B%5C%22list%5C%22:%5B1,2,3,4%5D%7D%22;%0A        Foo foo = mapper.readValue(payload, Foo.class);%0A        assertTrue(%22List should be empty%22, foo.getList().isEmpty());%0A    %7D%0A%7D%0A

add a failing test for #1382