Hello here,
Is there any reason to stay in Java8 for Avro project ?

On my laptop, i succeed to change to version 11

<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>

just by adding a new FieldAccessor class using
java.lang.invoke.MethodHandles instead of sun.misc.Unsafe (And compile
FieldAccessUnsafe or the new class depends of JDK version with Maven trick).
Whole unit tests work fine.
I wonder if there are other good reasons to stay with Java 8 version.

Best regards,
Christophe Le Saëc

Reply via email to