You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "pjfanning (via GitHub)" <gi...@apache.org> on 2024/05/19 09:30:53 UTC
Re: [I] arrow-vector 16.1.0 has a change that breaks Java 8 support [arrow]
pjfanning commented on issue #41717:
URL: https://github.com/apache/arrow/issues/41717#issuecomment-2119168704
ByteBuffer inherits rewind from Buffer and Java 8 has this method.
https://docs.oracle.com/javase/8/docs/api/java/nio/Buffer.html#rewind--
I have seem issues in Java 8 where you need to cast to java.nio.Buffer for this to work reliably.
In https://issues.apache.org/jira/browse/HADOOP-18197, there were issues where we got on some Java8 installations.
```
java.lang.NoSuchMethodError: java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer;
```
We had to upgrade protobuf-java (which had the ByteBuffer code that was causing us issues) to get this fix:
https://github.com/protocolbuffers/protobuf/commit/d40aadf823cf7e1e62b65561656f689da8969463
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org