Details
-
Improvement
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
-
1
Description
Expected result from contentAs(Object.class) is a Java primitive / Map / List.
Actual results is the transcoder gets confused and throws "byte[] input is not supported for the JsonTranscoder!"
Instead of checking for
target.isAssignableFrom(byte[].class)
a better check would be
target.equals(byte[].class)
Attachments
For Gerrit Dashboard: JCBC-1786 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
148083,4 | JCBC-1786 Transcoders should allow contentAs(Object.class) | master | couchbase-jvm-clients | Status: MERGED | +2 | +1 |