[ 
https://issues.apache.org/jira/browse/AVRO-1498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14051867#comment-14051867
 ] 

Hudson commented on AVRO-1498:
------------------------------

SUCCESS: Integrated in AvroJava #463 (See 
[https://builds.apache.org/job/AvroJava/463/])
AVRO-1498. Java: Fix custom encodings to work in reflect without Unsafe access. 
 Contributed by Christopher Mann. (cutting: rev 1607711)
* /avro/trunk/CHANGES.txt
* 
/avro/trunk/lang/java/avro/src/main/java/org/apache/avro/reflect/FieldAccessReflect.java
* 
/avro/trunk/lang/java/avro/src/main/java/org/apache/avro/reflect/ReflectData.java
* 
/avro/trunk/lang/java/avro/src/main/java/org/apache/avro/reflect/ReflectionUtil.java
* 
/avro/trunk/lang/java/avro/src/test/java/org/apache/avro/reflect/TestReflect.java


> 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
>            Assignee: Christopher Mann
>             Fix For: 1.7.7
>
>         Attachments: AVRO-1498.patch, 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)

Reply via email to