You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Christopher Mann (JIRA)" <ji...@apache.org> on 2014/04/22 18:12:15 UTC
[jira] [Updated] (AVRO-1498) Custom Encoding with @AvroEncode does
not work when FieldAccessReflect is used
[ https://issues.apache.org/jira/browse/AVRO-1498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christopher Mann updated AVRO-1498:
-----------------------------------
Attachment: FieldAccessReflect.patch
Adds custom encoding support to FieldAccessReflect
> Custom Encoding with @AvroEncode does not work when FieldAccessReflect is used
> ------------------------------------------------------------------------------
>
> Key: AVRO-1498
> URL: https://issues.apache.org/jira/browse/AVRO-1498
> Project: Avro
> Issue Type: Bug
> Components: java
> Affects Versions: 1.7.5, 1.7.6
> Environment: All environments where sun.misc.unsafe is not available, especially Android devices.
> Reporter: Christopher Mann
> Attachments: FieldAccessReflect.patch
>
>
> Custom Encoding with @AvroEncode does not work if the field access is done via reflection and not via the sun.misc.unsafe API.
> This can be reproduced in a normal JVM with the unit tests (TestReflect.testAvroEncodeIO fails) after deactivating the use of the sun.misc.unsafe API in the ReflectionUtil class.
--
This message was sent by Atlassian JIRA
(v6.2#6252)