reschke commented on code in PR #3239:
URL: https://github.com/apache/jackrabbit-oak/pull/3239#discussion_r4483712172
##########
oak-commons/src/main/java/org/apache/jackrabbit/oak/commons/Buffer.java:
##########
@@ -41,7 +41,11 @@
* {@link ByteBuffer}. Since it is not possible to directly convert a {@link
* Buffer} into a {@link ByteBuffer} and the other way around, {@link Buffer}
* makes it less likely to develop dangerous code in the future.
+ *
+ * @deprecated Oak requires Java 17, so the Java 8 compatibility concern above
+ * no longer applies. Use {@link ByteBuffer} directly.
Review Comment:
1.22.x still needs to support Java 8.
That's why we need to be careful with changing APIs.
--
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]