code:     public void testIssue1599() throws Exception
      {
          final String JSON = aposToQuotes(
   "{'id': 124,\n"
  +" 'obj':[ 'com.sun.org.apache.xalan.internal.xsltc.trax.TemplatesImpl',\n"
  +"  {\n"
  +"    'transletBytecodes' : [ 'AAIAZQ==' ],\n"
  +"    'transletName' : 'a.b',\n"
  +"    'outputProperties' : { }\n"
  +"  }\n"
  +" ]\n"
  +"}"
          );
          ObjectMapper mapper = new ObjectMapper();
          mapper.enableDefaultTyping();
          try {
              mapper.readValue(JSON, Bean1599.class);
              fail("Should not pass");
          } catch (JsonMappingException e) {
              verifyException(e, "Illegal type");
              verifyException(e, "to deserialize");
              verifyException(e, "prevented for security reasons");
          }
      }
  