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: [email protected]

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

Reply via email to