@@ -0,0 +1,1019 @@
+package com.fasterxml.jackson.failing;%0A%0Aimport java.util.Collections;%0Aimport java.util.Set;%0A%0Aimport com.fasterxml.jackson.annotation.*;%0A%0Aimport com.fasterxml.jackson.databind.*;%0A%0Apublic class UnmodifiableSetTyping1392Test extends BaseMapTest%0A%7B%0A    @JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY)%0A    abstract static class UnmodifiableSetMixin %7B%0A%0A        @JsonCreator%0A        public UnmodifiableSetMixin(Set%3C?%3E s) %7B%7D%0A    %7D%0A%0A    public void testUnmodifiable() throws Exception%0A    %7B%0A        ObjectMapper mapper = new ObjectMapper();%0A        Class%3C?%3E unmodSetType = Collections.unmodifiableSet(Collections.%3CString%3EemptySet()).getClass();%0A        mapper.addMixIn(unmodSetType, UnmodifiableSetMixin.class);%0A        mapper.enableDefaultTyping(ObjectMapper.DefaultTyping.NON_FINAL, JsonTypeInfo.As.PROPERTY);%0A%0A        final String EXPECTED_JSON = %22%5B%5C%22%22+unmodSetType.getName()+%22%5C%22,%5B%5D%5D%22;%0A%0A        Set%3C?%3E foo = mapper.readValue(EXPECTED_JSON, Set.class);%0A        assertTrue(foo.isEmpty());%0A    %7D%0A%7D%0A

Add a (failing) test for #1392