zeekling commented on code in PR #7725:
URL: https://github.com/apache/hadoop/pull/7725#discussion_r2129126382
##########
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/RawLocalFileSystem.java:
##########
@@ -425,7 +426,7 @@ public void completed(Integer result, Integer rangeIndex) {
channel.read(buffer, range.getOffset() + buffer.position(),
rangeIndex, this);
} else {
// Flip the buffer and declare success.
- buffer.flip();
+ ((Buffer)(buffer)).flip();
Review Comment:
Do you use jdk17 build hadoop, and run on jdk8?
If so, you need check in all project like this, I think it has so many.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]