You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@johnzon.apache.org by "Benoit Prudhomme (JIRA)" <ji...@apache.org> on 2018/08/02 15:02:00 UTC

[jira] [Created] (JOHNZON-184) JsonbAdapter declared through @JsonbTypeAdapter can not convert object properly

Benoit Prudhomme created JOHNZON-184:
----------------------------------------

             Summary: JsonbAdapter declared through @JsonbTypeAdapter can not convert object properly
                 Key: JOHNZON-184
                 URL: https://issues.apache.org/jira/browse/JOHNZON-184
             Project: Johnzon
          Issue Type: Bug
          Components: JSON-B
    Affects Versions: 1.1.7
            Reporter: Benoit Prudhomme
         Attachments: JohnzonLibTest.java

When using the @JsonbTypeAdapter, it seems that a JohnzonJsonbAdapter wraps the JsonbAdapter declared.
Then, JohnzonJsonbAdapter seems to be used for AdapterKey build instead of the delegated one. 
Since JohnzonJsonbAdapter is not direclty implementing Adapter.class, no key is built.

org.apache.johnzon.mapper.MappingParserImpl#getAdapterKey:451

May this specific case be a sign of a deeper issue ?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)