nielsbasjes commented on PR #2013:
URL: https://github.com/apache/avro/pull/2013#issuecomment-1434869139

   I did a quick scan of the code and it looks like it is automatically using 
the `FieldAccessUnsafe` if that is possible ( 
https://github.com/apache/avro/blob/master/lang/java/avro/src/main/java/org/apache/avro/reflect/ReflectionUtil.java#L60
 and 
https://github.com/apache/avro/blob/master/lang/java/avro/src/main/java/org/apache/avro/reflect/FieldAccessUnsafe.java#L38
 )
   So my guess is that in Java 19 `theUnsafe` is no longer possible and you get 
the `FieldAccessReflect` instead.
   
   At this point I do not know how to fix this.
   @martin-g / @clesaec Any ideas?
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to