Steven Walters created JOHNZON-275:
--------------------------------------
Summary: Adapter implementations that indirectly inherit from
Adapter throw MapperException on deserialization
Key: JOHNZON-275
URL: https://issues.apache.org/jira/browse/JOHNZON-275
Project: Johnzon
Issue Type: Improvement
Components: Mapper
Affects Versions: 1.1.13
Reporter: Steven Walters
Attachments: johnzon-mapper-indirect-adapter-key.zip
Mapper release 1.1.13 created a regression in the treatment of Adapter
implementations that indirectly inherit from Adapter.
"Indirect inheritance" is such that the type does not directly implement
Adapter, but extends some other type that implements Adapter).
A brief look into the cause of the issue is that the "reverse" adapter key
cannot be found/determined and causes a NullPointerException to be thrown when
trying to utilize the null AdapterKey.
It should be noted that this behavior worked without issue in 1.1.12.
Attached is a test case that exemplifies the issue.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)